I found that angularFire always confuses me when it is used with the clean Firebase JavaScript API.
Let's say I have no idea how to call the datasapshot Firebase ss.name() , ss.hasChild(), ss.forEach() , etc. in angularFire.
So, I decided to use only the Firebase JavaScript API, because I realized that it already has two-way data binding (explicit) using AngularJS without using angularFire.
Demo without ngFire
But I had a problem with ng-repeat . The returned data is an object, so I cannot sort. Then I found this filter orderByObject , but after converting to an array, I would lose the object key.
Can the Firebase team help me improve this orderByObject filter to support an object key?
angularjs angularjs-filter firebase angularfire
vzhen
source share