Reputation: 196
I have an array with repeated items.I want to go through all the items in my array with ng-repeat.but Iam unable to display the duplicate items which are repeated values in my array.how can i display the duplicate items with ng-repeat?
Upvotes: 1
Views: 565
Reputation: 136144
You could use track by $index
after your ng-repeat
ng-repeat="item in items track by $index"
I'll be able to provide more isight if you add code to OP.
Upvotes: 3