From 9d050c9ebe12c3362deba59f7215ee3be2d036dc Mon Sep 17 00:00:00 2001 From: Kane Rogers Date: Fri, 1 Aug 2014 11:55:58 +1000 Subject: [PATCH] Add delete example to README.md --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 8c298fb..994112f 100644 --- a/README.md +++ b/README.md @@ -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'); }]); /*