Credit to devdocs.io

angularjs 1.4

angularjs

Service components in ngCookies

Name Description
$cookieStore

Provides a key-value (string-object) storage, that is backed by session cookies. Objects put or retrieved from this storage are automatically serialized or deserialized by angular's toJson/fromJson.

$cookies

Provides read/write access to browser's cookies.

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://code.angularjs.org/1.4.14/docs/api/ngCookies/service