From df71bac63cbf3d0508908adc070728cb227479f7 Mon Sep 17 00:00:00 2001 From: Subodh Date: Wed, 3 Dec 2014 14:38:17 +0530 Subject: [PATCH] Improved documentation for setStorageCookieDomain. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 2f882c9..0599478 100644 --- a/README.md +++ b/README.md @@ -108,6 +108,9 @@ myApp.config(function (localStorageServiceProvider) { .setStorageCookieDomain(''); }); ``` + +For local testing (when you are testing on localhost) set the domain to an empty string ''. Setting the domain to 'localhost' will not work on all browsers (eg. Chrome) since some browsers only allow you to set domain cookies for registry controlled domains, i.e. something ending in .com or so, but not IPs **or intranet hostnames** like localhost.
+ ###setNotify Send signals for each of the following actions:
**setItem** , default: `true`