Added by: Sam Deering
localStorageService is an AngularJS based service module which can be used to store and retrieve data from local storage of browser.
AngularJS verison 1.0.5+
Add a <script> to your index.html:
Create instance of service in Controller or js file:
var storage = localStorageService.create();
Give prefix to keys (optional):
storage.prefix = "Prefix";
this is optional but can be handy when you are using this service in multiple controllers
storage.set("Key","Value to Store");
Module stats last updated: 2015-04-15 19:53:33
Disclaimer: Some data on this page may have been gathered from the authors GitHub respository. If you see any mistakes or outdated information please let us know. Thanks!