Thanks Kevin & Sander , you are correct, after add below two , it's working
import 'rxjs/add/operator/map'; import 'rxjs/add/operator/catch'; 在 2016年6月1日星期三 UTC+8上午11:06:05,Sander Elias写道: > > Hi Fong, > > Kevin is right, you need the import. It will extend rx with the operators > you want/need. > > Regards > Sander > > > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
