ng-init in ng-repeat shows only the last item in Dygraph
I am new to angularJs and trying to implement Listview in it. i am getting a json response after hitting an Api . In that Json i am recieving an array in which i am getting a string of graphdata value.What i am trying is to show that data in every listitem as per the position . I tried a lot and even try to do this through for loop..but i am always getting last value of graphdata that means i am getting last dygraph in every list item. Can any body tell me where i am going worng in code. Here is my code: HTML <ion-list> <div ng-repeat="entry in entries"> <div class="wrap_home"> <ion-item class