Merge pull request #113 from kanerogers/patch-2

Add delete example to README.md
This commit is contained in:
Gregory Pike 2014-08-13 23:07:41 -02:30
commit 1437e35e58

View File

@ -15,7 +15,12 @@ angular.module('yourModule', ['LocalStorageModule'])
function($scope, localStorageService) {
// Start fresh
localStorageService.clearAll();
// Set a key
localStorageService.set('Favorite Sport','Ultimate Frisbee');
// Delete a key
localStorageService.delete('Favorite Sport');
}]);
/*