I like this. You should consider extending it to work with any $q promise (check out angular-promise-tracker).
I like this. You should consider extending it to work with any $q promise (check out angular-promise-tracker).