您的位置:首页 > Web前端 > AngularJS

Duplicates in a repeater are not allowed in AngularJS

2013-10-11 10:35 423 查看
AngularJS does
not allow duplicates in a ng-repeat directive.
This means if you are trying to do the following, you will get an error.

However, changing the above code slightly as below will get it working again.

The credit for the fix goes to comments in this thread
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: