0

I am trying to make the li's repeat for each image in the image array. Using the variable image as my identifier identifier but for some reason I am not able to loop through the array. I am making adjustments in the following line:

<li class="small-image pull-left thumbnail" ng-repeat="product in store.products.images" >

Please refer to the Plunker for the code.Here is my Plunker

John
  • 1,210
  • 5
  • 23
  • 51
  • Yes,Simple you are binding products with "this" which is controller not $scope therefore you cannot access product.images directly you need a object of controller which is store as you created in "StoreController as store" – squiroid Mar 01 '15 at 05:12
  • @NewDev i deleted the answer :) – squiroid Mar 01 '15 at 05:26