1

I use a loading bar plugin to show user if there is an http request. But sometimes, user clicks for a new route (I use angular's routing) and (I guess) http request automatically aborted by angular. Therefore I can't know I should stop the loading bar.

How can I handle this?

P.S.: I handle all http request in a service file.

Sam
  • 602
  • 3
  • 7
  • 23

0 Answers0