$cookiesProvider service in module ngCookies
Provides read/write access to browser's cookies. Up until Angular 1.3, $cookies exposed properties that represented the current browser cookie values. In version 1.4, this behavior has changed, and $cookies now provides a standard api of getters, setters etc. Requires the ngCookies module to be installed.
Methods get(key);
Returns the value of given cookie key Parameters Param Type Details key string Id to use for lookup. Returns