diff --git a/README.md b/README.md index a77afd5..84b0342 100644 --- a/README.md +++ b/README.md @@ -11,15 +11,14 @@ To do: Example use: +```javascript angular.module('yourModule', ['LocalStorageModule']) - - .controller('yourCtrl', [ - '$scope', - 'localStorageService', - function($scope, localStorageService) { - - // Start fresh - localStorageService.clearAll(); - localStorageService.add('Favorite Sport','value'); - - }]); \ No newline at end of file +.controller('yourCtrl', [ + '$scope', + 'localStorageService', + function($scope, localStorageService) { + // Start fresh + localStorageService.clearAll(); + localStorageService.add('Favorite Sport','value'); +}]); +```