Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

How to append data?

$
0
0

.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.


Viewing all articles
Browse latest Browse all 228595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>