From 63def516a68526e415e2b77b979a9eb2604b9af5 Mon Sep 17 00:00:00 2001 From: Ben Sinther Date: Tue, 16 Dec 2014 17:18:51 +0100 Subject: [PATCH] Update README.md Submit parameter is called val. But inside cookie.set it is called value. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 43e55e8..f84a450 100644 --- a/README.md +++ b/README.md @@ -298,7 +298,7 @@ Directly adds a value to cookies.
myApp.controller('MainCtrl', function($scope, localStorageService) { //... function submit(key, val) { - return localStorageService.cookie.set(key, value); + return localStorageService.cookie.set(key, val); } //... });