How to apply rxjs operator to data got from angularfire2
问题 Suppose I requested for data in angularfire2 like this: var ref = new Firebase("firebase url"); Now how can I apply rxjs operator like map operator to the data coming 回答1: I don't think you are looking at angularfire2 there - that's v1 code... You can use the rxjs operators in angularfire2 - the data is returned as an Observable (FirebaseListObservable or FirebaseObjectObservable) - so you can import and apply any of the rxjs operators to those... In general, you just assign the data to a