AngularJs ng-click event only triggered with literal arguments

后端 未结 2 793
星月不相逢
星月不相逢 2021-02-14 13:20

When I call within a ng-repeat group

Delete

the remove function is

2条回答
  •  盖世英雄少女心
    2021-02-14 13:42

    You shouldn't use curly braces in the ng-click expressions. Try this instead:

    Delete
    

    And be sure to check the AngularJS expressions documentation: http://docs.angularjs.org/guide/expression

提交回复
热议问题