1
I’m returning a json with this code:
$scope.movies = angular.toJson(results, true);
and Getting this json: http://pastebin.com/87tJm8XE
And trying to get the data with this:
<ion-item ng-repeat="movie in movies">
{{movie.title}}
</ion-item>
but I was making a mistake:
Error: [ngRepeat:dupes] Duplicates in a Repeater are not allowed. Use 'track by' Expression to specify Unique Keys.
so I tried that:
<ion-item ng-repeat="movie in movies track by $index">
{{movie.title}}
</ion-item>
but now I can’t get the values. {{Movie.title}} returns empty.
Looks like you asked on the wrong website... here’s the OS at portuguese!
– J. Bruni
Gee, I haven’t seen it, sorry, I’ve edited it
– Pedro Marques