angular-local-storage
angular-local-storage copied to clipboard
An AngularJS module that gives you access to the browsers local storage with cookie fallback
I see this big bump to v0.5 but changelog does not mention any breaking changes :/
Uncaught TypeError: Cannot read property 'isDefined' of undefined
More of a question than an issue. What's the point of "session" storage when we can share state using Angular services (singletons available across the application but only during a...
Please, provide getter for storage prefix. This could be useful for example in window listeners `$window.addEventListener('storage', function (event) { if (event.key === localStorageService.prefix + 'logout-event') { factory.logout() } });`
Currently addToLocalStorage() catches exceptions from webStorage.setItem() and falls back to writing to cookies if an exception happened ([code](https://github.com/grevory/angular-local-storage/blob/cbb195fcfb114e9bd1d6669f04f46ef18ddbad66/src/angular-local-storage.js#L169)). This seems wrong: * It doesn't check self.defaultToCookie before doing so. *...
Hi, I'm not sure whether this is intended, but when setting a prefix in the controller instead of as a config definition, you have to manually set a dot at...
Hi, some errors in javascript Versions: - Angular: 1.6.6 - Angular Local Storage: 0.7.1 - Browser: Internet Explorer 11 Case: Inside callback function, localStorage plugin call "finally" clause after try...
**hello now when I use localStorageService.cookie.remove("key") return undefined and I cant remove data from key and documentation i found remove and clearAll() but I wand remove only key how can...
If I use `setPrefix`to set the prefix 'mu-stuff-' my local storage keys will get the name `mu-stuff-.key`. I need this to keep compatibility with the old local storage solution we...