View source Improve this doc

$cookies
service in module ngCookies

Description

Provides read/write access to browser's cookies.

Only a simple Object is exposed and by adding or removing properties to/from this object, new cookies are created/deleted at the end of current $eval.

Requires the ngCookies module to be installed.

Dependencies

Example

Source





Demo