Hi Reza,

Leave out the catch, and use the second parameter of your subscribe. Also, 
catch 
<https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/core/operators/catch.md>will
 
swallow all error's, and is likely not doing what you expect. 
This might be a good starting point 
<https://xgrommx.github.io/rx-book/content/getting_started_with_rxjs/creating_and_querying_observable_sequences/error_handling.html>
 
to read on this.

Regards
Sander

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" 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