Hi Vijay,

those:
            'Access-Control-Allow-Origin': '*',
                'Access-Control-Allow-Methods': 'GET, POST, PUT, DELETE, 
OPTIONS',
                'Access-Control-Allow-Headers': 'Content-Type, 
X-Requested-With',

Are server site headers. Setting them in the client will not help you at 
all.
So I suspect you have a CORS issue. Search in this list or on google for 
answers on that. Probably you need to change some settings at your server.

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.

Reply via email to