Add delete example to README.md

This commit is contained in:
Kane Rogers 2014-08-01 11:55:58 +10:00
parent d08649f426
commit 9d050c9ebe

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');
}]);
/*