bramski / angular-indexedDB

An angularjs serviceprovider to utilize indexedDB with angular
165 stars 49 forks source link

Not able to use $indexedDB, $indexedDBProvider in angular service #76

Closed ankit-fliplearn closed 7 years ago

ankit-fliplearn commented 7 years ago

Hi, I am unable to use $indexedDB, $indexedDBProvider in any angular service. They are only accessible in controller and config respectively. Can some one tell me a way around this ?

bramski commented 7 years ago

The provider is only available in config. $indexedDB should be available in all other contexts. Please see the examples.