Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • lucuma 261 posts 563 karma points
    Jan 22, 2014 @ 23:00
    lucuma
    0

    Creating a Link to another entity

    Which angular service can I use to create a link in the backend to another node if I have its id? I'd like to create a hyperlink so that a user can click and go to that node or call a service to change the user to that node. Either way is fine. I searched through the docs and didn't see anything.

    I am trying to avoid this:

    var basePath = '#/content/content/edit/';
    ...
    $scope.link = basePath + id;
    // html
    <a href='{{link}}'>Link</a>
    
Please Sign in or register to post replies

Write your reply to:

Draft