I want to do something like this:
我想做这样的事情:
<a ng-click="doSomething({{value}})" >
js
JS
$scope.doSomething = function(a){
console.log(a);
}
1 个解决方案
#1
56
all you need to do is this:
你需要做的就是:
<a ng-click="doSomething(value)" >
#1
56
all you need to do is this:
你需要做的就是:
<a ng-click="doSomething(value)" >