29

私はこのようなことをしたい:

<a ng-click="doSomething({{value}})" >

js

$scope.doSomething = function(a){
 console.log(a);
}
4

1 に答える 1