angular-local-storage
angular-local-storage copied to clipboard
An AngularJS module that gives you access to the browsers local storage with cookie fallback
when saving strings with quotes ", these strings get double encoded. this commit only converts objects to json before saving them to localstorage.
Local cookies (file://...) in IE11 with path "/" are global for entire filesystem. Setting empty path does not working. Solution: set no path, if path is empty.
Based on http://weblog.west-wind.com/posts/2014/Jan/06/JavaScript-JSON-Date-Parsing-and-real-Dates#JSONParserExtensions
Bind doesn't work on nested scope properties (e.g. $scope.obj.nestedObject). Fix. Test in included
request for memory cache. if key is present in memory, serve it from, memory else call storage (cookie/db). when set a key save to memory and local storage. this is...