Skip to content

Commit 8e9638d

Browse files
author
Brian Feister
committed
Explain setStorageCookieDomain limitation
1 parent d85bdb5 commit 8e9638d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ myApp.config(function (localStorageServiceProvider) {
9999
});
100100
```
101101
###setStorageCookieDomain
102-
Set for cookie domain<br/>
102+
Set the cookie domain, since this runs inside a the `config()` block, only providers and constants can be injected. As a result, `$location` service can't be used here, use a hardcoded string or `window.location`.<br/>
103103
**No default value**
104104
```js
105105
myApp.config(function (localStorageServiceProvider) {

0 commit comments

Comments
 (0)