Open Bubelbub opened 8 years ago
If you really need to use the localStorage before bootstrap of Angular, can't you use windows.localStorage/sessionStrorage instead?
The same issue. My intentions are to use angular.injector out of angular inside basic class. Methods of this basic class using some app services, which using $localStorage. But $localStorage doesn't seem to work that way. And It's not a great solution to change all the $localStorage calls to optional window.localStorage.
My workflow is the following. (function () { 'use strict';
And I (try to) save the configuration by:
But the storage isn't "synced".
Do you know how I can handle this storage "global"?