I am returning a json with this code:
$scope.movies = angular.toJson(results, true);
and getting this json: link
And trying to get the data with this:
<ion-item ng-repeat="movie in movies">
{{movie.title}}
</ion-item>
but I was having an error:
Error: [ngRepeat: dupes] Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys.
So I tried this:
<ion-item ng-repeat="movie in movies track by $index">
{{movie.title}}
</ion-item>
But now I can not get the values. {{movie.title}} returns empty.