I\'m displaying a list of thumbnails with this code:
To go along with @cexbrayat's answer, if you don't have any IDs you can also just associated it and track by $index. Which is an internal iteration # during an ng-repeat.
track by $index