Before using angularFireCollection() I was using angularFire(). But angularFire listening on value instead of childs so someone suggest me to use angularFireCollection.
But now angularFireCollection return arrays. =.=
So any idea in this situation?
I want my data return in objects and listening on childs.
angularFireCollectionreturns an array in order to ensure the order of items in it matches the priorities set on the server. You'll get an array of Objects, what specifically are you trying to do that you can't do with arrays but can with objects?ng-repeat="(key, val) in objects". @Anant