gsklee / ngStorage

localStorage and sessionStorage done right for AngularJS.
MIT License
2.33k stars 461 forks source link

Events #199

Closed alexeybondarenko closed 7 years ago

alexeybondarenko commented 8 years ago

It will be useful, if storage will have events for changes in storage.

So user could subscribe on change like this:

$localStorage.$watch('items', function (itemsChanged)  {});