angular-local-storage icon indicating copy to clipboard operation
angular-local-storage copied to clipboard

An AngularJS module that gives you access to the browsers local storage with cookie fallback

Results 65 angular-local-storage issues
Sort by recently updated
recently updated
newest added
trafficstars

If we try store an object that contains a Date, we will get a string when try to read the value: ``` localStorageService.set('key', {date: new Date()}); localStorageService.get('key'); // {date: "2015-07-23T22:14:30.123Z"}...

bug

Hi, I know that similar issues have been submitted, but it seems to me that local storge data still gets cleared automatically, leaving the wrong impression that the module doesn't...

question

I am using this library to set and get the local storage variables. strangely the variables are not surviving the page refresh. is there any additional configuration I am missing...

question
can't reproduce

I have two subdomain http://subdomain1.example.companyname.com http://subdomain2.example.companyname.com and my configuration is localStorageServiceProvider.setStorageCookieDomain('.companyname.com'); localStorageServiceProvider.setStorageCookie(0, '/');

question

Hi. I'm using this module in an Cordova project and it works on the browser... But on the Android App when I close the app it loses all the information...

bug

Not sure what to send in as scope when using controllers that are set up with controllerAs syntax (that is with all properties etc on "this"). Any pointers?

question

https://github.com/grevory/angular-local-storage/blob/master/angular-local-storage.js#L325 accesses cookies from $document and not $document[0] or from $cookies via ngCookies

bug

The problem is in `addToLocalStorage`, if you save something that exceeds the quota it will broadcast the error and try to save it in cookies, if that fails, it will...

enhancement

I'm trying to save a value in a cookie. I'm not sure what `angular-local-storage` is meant to do different from `angular-cookie`. I've tried to save the cookie with the following...

bug

When you call localStorageService.bind, an event listener is now registered that is fired when the value of the local storage key changes, which updates the value and calls scope.$apply(). fixes...

pr-needs-feedback