Hi Partha,

> The alerts I have placed are never fired.

You mean the alerts in your first msg? If those are not fired, the response 
from your node server is not reaching back your app. I just noticed you are 
returning a 201. This might be the problem. Can you try with a code 200?
(BTW 201 means a successful creation, that's a strange response on a 
delete...)
Also, you should add an error-handling part in your service. checkout how 
to handle errors in observables. hint the CatchError operator is your 
friend.

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