In AngularJS I have a link which I need to insert a value from the scope into, I have tried this:
$scope.go = function (path) {
$location.path(path);
};
<a ng-click="go('/edit/{{my.id}}')"><span class="fa fa-pencil-square-o"></span></a>
but this just passes in /edit/%7B%7Bmy.id%
How is this possible in the template?