.controller('ApptsController', function($scope, $state, $rootScope) { var cities = Parse.Object.extend("cities"); var cities = Parse.Collection.extend({ model: cities }); var cities = new cities(); cities.fetch({ success: function(cities) { console.log(cities); }, error: function(cities, error) { console.log(error); } }); })
How can i append in my success: the payload there is 7 models; i want to show the cities in {{where}} in
<ion-view title="Appointments" right-buttons="rightButtons"> <ion-content has-header="true" has-tabs="true" padding="true"> {{time}} </ion-content> </ion-view>
Thanks guys.