Show spinner GIF during an $http request in AngularJS?

I am using the $http service of AngularJS to make an Ajax request.

How can a spinner GIF (or another type of busy indicator) be shown while the Ajax request is executing?

I don’t see anything like an ajaxstartevent in the AngularJS documentation.

27 Answers
27

Leave a Comment