I'm using AngularJS for a webapp, I have a set of images stored on disk and I'm using rest services to retrieve the paths of the images on disk. Now on the client side I have an object which is an array containing the paths of the images.
I would like to know how to iterate this array using javascript on the html to display all the images that this array contains.
This is the code I tried but no luck so far:
<div id="products" data-ng-repeat="product in products">
<img alt="" data-ng-src="{{product.pathToImage}}" height="300" width="200px">
</div>
Thank you very much in advance.