Hi Ethiraj,

Aside from some missing closing tags, your code is ok. It runs fine in a 
plnkr <http://plnkr.co/edit/5ONVGsN8RYikiTutNDBF?p=preview>
probably your server isn't configured for CORS <https://enable-cors.org/>, 
and is that the reason you don't get a response. (CORS has nothing to do 
with angular).

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