diff --git a/README.md b/README.md index 2247aea..87356b6 100644 --- a/README.md +++ b/README.md @@ -166,7 +166,7 @@ If local storage is not supported, use cookies instead.
myApp.controller('MainCtrl', function($scope, localStorageService) { //... function submit(key, val) { - return localStorageService.set(key, value); + return localStorageService.set(key, val); } //... });