lgalfaso / angular-dynamic-locale

Module to be able to change the locale at an angularjs application
http://lgalfaso.github.io/angular-dynamic-locale/
MIT License
322 stars 75 forks source link

Is it possible to use ngstorage instead of $cookieStorage? #75

Closed azachar closed 9 years ago

lgalfaso commented 9 years ago

never used ngStorage, but if it exposes a service that follows the same signature as $cookieStorage then tmhDynamicLocaleProvider.useStorage('someOtherService') will make it. If it does not follow the same signature, then it should be possible to create an intermediate service that does the right thing

lgalfaso commented 9 years ago

Without any answer, I expect that https://github.com/lgalfaso/angular-dynamic-locale/issues/75#issuecomment-138622093 provides the right solution