$localStorage service for use in your AngularJS applications.

Provides a key-value (string-object) storage, that is backed by localStorage with support for expiry (in days). Objects put or retrieved from this storage are automatically serialized or deserialized by angular's toJson/fromJson.