@Zlatko Đurić 

thanks for your help.

that's right, after log "this.jobs" in subscribe function, it's working 
fine.

but another problem is:
when I use ngFor to loop this.jobs, it also get an error "EXCEPTION: Cannot 
find a differ supporting object '[object Object]' of type 'object'. NgFor 
only supports binding to Iterables such as Arrays. in [jobs in 
JobsComponent@11:12]"


I know we use promise to solve this problem in angular1,X, but what about 
angular2?

thanks!

-- 
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.

Reply via email to