<button ng-click="removeTask({{task.id}})">remove</button>
<button ng-click="removeTask(task.id)">remove</button>
from:
http://stackoverflow.com/questions/17039926/adding-parameter-to-ng-click-function-inside-ng-repeat-doesnt-seem-to-work
沒有留言:
張貼留言