angular-local-storage
angular-local-storage copied to clipboard
Error to handle date
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"}