chieffancypants/angular-loading-bar — pull request #112 by DiegoYungh (2014-09-17 22:11:37+00:00)
Title: Wrong timing broadcasting 'completed' event

I use ui-router and for each resolve he triggers the loading bar and I received 3~5 complete messages.
I spotted this recursion after broadcasting the event so it is a simple change.

Docs: cfpLoadingBar:completed triggered once when the all XHR requests have returned (either successfully or not)