Skip to content
An Angular module that gives you access to the browsers local storage
Find file
Pull request Compare This branch is 300 commits behind grevory:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
README.md
demo-app.js
demo-style.css
demo.html
localStorageModule.js

README.md

angular-local-storage

An Angular module that gives you access to the browsers local storage

Remember to set your app name (settings.appPrefix) in the settings at the beginning of localStorageModule.js.

To do:

  • Add tests
  • Expand Readme

Example use:

angular.module('yourModule', ['LocalStorageModule'])
.controller('yourCtrl', [
  '$scope',
  'localStorageService',
  function($scope, localStorageService) {
    // Start fresh
    localStorageService.clearAll();
    localStorageService.add('Favorite Sport','value');
}]);

Check out the full demo and documentation at http://gregpike.net/demos/angular-local-storage/demo.html

Something went wrong with that request. Please try again.