Reputation: 869
I want to do something like this:
<a ng-click="doSomething({{value}})" >
js
$scope.doSomething = function(a){ console.log(a); }
Upvotes: 28
Views: 51864
Reputation: 596
all you need to do is this:
<a ng-click="doSomething(value)" >
Upvotes: 58