Closed chandan-singh closed 10 years ago
+1
Appreciate the effort. In the end I wanted to go a different route and move all the promise tracking code directly into angular-busy. There was just too much overhead making the libraries work together. It required more work on the user's part to wire up a promise-tracker and then pass it to angular-busy. Now angular-busy just needs a promise directly. Thanks anyway.
Added a service cgBusyTrackers which keeps track of all the 'trackers'. Service provides two methods: 1. addTracker 2. getPromiseTracker for adding tracker and retrieving tracker. See demo.js and spec.js for usage.