cgross / angular-busy

Show busy/loading indicators on any element during $http requests (or any promise).
http://cgross.github.io/angular-busy/demo
MIT License
1.44k stars 256 forks source link

How to stop loading cg busy when got an error from http request #112

Open suryamuppalla opened 7 years ago

suryamuppalla commented 7 years ago

<div class="tab-content" cg-busy="load"></div>

$scope.load = personFactory.getAll()

It is still showing loading bar to the div when I got an error from the HTTP request.