Skip to content

SeanHub/AngularStorage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Angular Storage

Angular storage service. Stores stringified data in the browsers localStorage.

##Installation

Install using bower by adding to bower.json or installing manually.

bower install sm-angular-storage

##Usage

Add sm.storage.js to your application and include sm.storage as a module dependency.

angular.module('app', ['sm.storage']);

Within your controller, include storage as a dependency. You can then use the following to store a key.

storage.storeEntry(key, value);

You can use the following to retreive a key.

storage.getEntry(key);

You can use the following to remove a key.

storage.removeEntry(key);

##To Do

  • Add test coverage.

About

Angular storage service, stores stringified data in the browsers localStorage

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors