Firebase 3 get list which contain generated keys to ionic list
问题 I wanna synchronize firebase table with ionic list. These are items on database Items -KQpA9YpXyqBQ2HZedEo name: "jhj" -KQpAWtIaMeS93431BRQ name: "hj" -KQpB6grRt15GnacKHjW name: "j" This is ionic part <ion-list> <ion-item ng-repeat="item in items"> <h2>{{item.name}}</h2> </ion-item> </ion-list> Here is my firebase part var itemsRef = firebase.database().ref('Items'); //first try var items = itemsRef.orderByChild('name'); $scope.items = items; //this is second try itemsRef.on('child_added',