gsklee / ngStorage

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

Unable to set prefix differently for different modules #243

Open Deklin opened 7 years ago

Deklin commented 7 years ago

We use a multi-module angular app, I am trying to set a KeyPrefix on two modules so their use of local storage and session storage is prefixed with the module name, unfortunately setKeyPrefix seems global and not per module.