Hi Rahul,

I updated your code to work.
The biggest part of the problem was an invalid CORS config in your server 
part.
Also Angular follows all the best practices on security, so it demands you 
set the 'with-credentials' flag.
I added an interceptor for that.

https://github.com/SanderElias/angular-session

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