Accepts the default cookie attributes defined by
$cookiesProvider.defaults.
Sets a raw cookie value.
Cookie name to write.
String value to write.
Cookie attributes for this write.
Serializes an object as JSON and stores it as a cookie.
Cookie name to write.
JSON-serializable value.
Optionaloptions:
CookieOptions
Cookie attributes for this write.
Removes a cookie by setting an expired date.
Cookie name to remove.
Cookie attributes that must match the existing cookie.
High-level API for reading, writing, serializing, and removing browser cookies through the injectable
$cookieservice.