angular-locker icon indicating copy to clipboard operation
angular-locker copied to clipboard

🗄️ A simple & configurable abstraction for local/session storage in angular js projects

Results 9 angular-locker issues
Sort by recently updated
recently updated
newest added

querying objects in locker should query both session, and local unless specified. If I say `locker.has('user')` I would expect that to return true if there is an object called 'user'...

Hacktoberfest

Hi. I just added my own custom driver that uses cookies for storage, and works fine for the most part. Some functionality in my app needs just a bit more...

The version is angular-locker "2.0.4". If I put the value in storage " locker.driver('local')", the value will always be saved even I close the browser. But If I used "locker.driver('session')"...

I understand the concept of binding to `$scope`. However, the examples don't take the recommended `controller as` syntax into account. Not sure what that would look like?

Chrome Version 49.0.2623.87 (64-bit) shows following error: Failed to parse SourceMap: http://.../bower_components/angular-locker/dist/angular-locker.min.js.map I think it's due to this line: /*! angular-locker v2.0.4 | (c) 2016 @tymondesigns | https://github.com/tymondesigns/angular-locker */

When I do locker.put('key', null) it does not store the value properly. Is this intended using locker? localStorage takes the value just fine.

I am using clean() to remove all values from a given namespace. However, if the namespace contains a dot within it's name (e.g. 'test.namespace'), on my Chrome the namespace is...

I am storing some data in localStorage, but after calling window.history.back(), the data gets reset, for page refresh it works fine. How do deal with window.history.back() scenario. Thanks in advance.

``` js .config(function (lockerProvider) { lockerProvider .setDefaultDriver('local') .setEventsEnabled(true) }) .run(function ($rootScope, locker) { locker.bind($rootScope, 'session') }) ``` I expected that to mean "root scope and local storage are always in...