webcss / angular-indexedDB

An angularjs serviceprovider to utilize indexedDB with angular
149 stars 99 forks source link

Use of $rootScope.$apply #31

Open Tntv opened 10 years ago

Tntv commented 10 years ago

Hi,

I wanted to understand the use of $rootScope.$apply. This lines are causing an error in my app. Error: $digest / $apply already in progress

I know this is occuring because there is a $digest / $apply is running already in my application when the code from the angular-indexedDb is running.

However when i comment these lines in the entire file. My app works fine. Any help or information regarding the same would be greatly appreciated.

Best Regards, TNTV33