An angularjs serviceprovider to utilize indexedDB in angular