How to Use Cookies in AngularJS?

AngularJS framework provides cookie module ngCookies. It also provides cookieStore object with get(), put() and remove() methods. This cookie feature is available in angular-cookies.min.js file. Below demo shows how to read and write cookie.

Close