How to access cookies in AngularJS?

Posted by Jessica Taylor | Updated on

Want to access cookies in AngularJS? You need to use $cookieStore instead of $cookies to access cookies using AngularJS.

Here is an example:


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers