angular-local-storage
angular-local-storage copied to clipboard
Is it possible to get a notification for a value update by a different window.
This could be done by add a raw event listener to "window" object. However, I guess it would be more convenient and safe if we could automatically add the listener and propagate the events as a normal(or special) notification for "setValue". Then we could just use the plain $scope.$on(). Any idea?
Thanks, Howard
It does not seem to be possible. Perhaps follow the approach suggested in here: https://github.com/grevory/angular-local-storage/issues/170#issuecomment-81964938