ng-repeat does not work when array (or string) has non-unique values

前端 未结 1 1136
执念已碎
执念已碎 2021-02-05 05:45

I have this line of code in my AngularJS template:

        {{letter}} 

\'word\'

1条回答
  •  日久生厌
    2021-02-05 06:13

    Change your repeater to use this:

    {{letter}} 
    

    Docs: http://docs.angularjs.org/error/ngRepeat/dupes

    0 讨论(0)
提交回复
热议问题