angular-local-storage
angular-local-storage copied to clipboard
An AngularJS module that gives you access to the browsers local storage with cookie fallback
binding array to localstorage is overriding stored array with defined array. `localStorageService.bind($scope, 'selections', [{"name": "A", selected: true}, {"name": "B", selected: true }]);` selected values are always true on page refresh,...
Right now, the implementation is hardcoded with a great default of using `angular.toJson` and `JSON.parse`. I'd like to add a custom serializer in the context such that I can encrypt...
Hi, I am using Angular 1.3-beta 0.8 and when I tried set the cookie to expires at one day, he does not create the cookie. But if I set two...
I'm currently getting an error in my IONIC app IOS platform, i.e. After 4,5 hours of closing my app, if I open my app, its localStorage gets empty, and all...
I have tried to save local cookies (file://...) in IE11 and these are always global for entire filesystem. Setting empty path does not working because the path is always setting:...
browserSupportsLocalStorage always returns true if local storage is not supported when it should return false. if the var supported is false the function never tries to set an item and...
I think if a property does not exist, you should not return a value (null is an object in Javascript). Also, I think it would be convenient to be able...
I've added an option to disable the cookie fallback when LocalStorage fails. I simply don't want to use Cookies in my project as they don't support the amount of data...
Hi everyone, So, after grooming the existing issue I came up with the following items that might require some action in the future. ### Bugs - [ ] localStorage not...
This could be done by add a raw event listener to "window" object. However, I guess it would be more convenient and safe if we could automatically add the listener...