0

I want to know which one comes first and what is the correct order of these events?

$locationChangeStart, $locationChangeSuccess, $stateChangeStart, $stateChangeSuccess

Rathma
  • 1,196
  • 2
  • 33
  • 65

1 Answers1

0

$locationChangeStart and $stateChangeStart events will be broadcasted before a URL or state will change and $locationChangeSuccess or $stateChangeSuccess events will be called after $locationChangeStart or $stateChangeStart if your url or state gets successfully changed.

Please follow this post for more information about differences between $locationChangeStart , $stateChangeStart. Hope this will helpful to you.

Community
  • 1
  • 1
Ashish Panchal
  • 440
  • 3
  • 11