I am looking to use ng-repeat on an image and at the same time set the id to the index of the ng-repeat loop. Is there a way to do this?
<img src="/myimage.png" ng-repeat="item in sequence" id="{{$index}}" >
Aucun commentaire:
Enregistrer un commentaire