You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
In a handler for the $locationChangeStart event, a call to $location.path() will normally return the URL being navigated to. But if you use the forward or back button (or use history.back() or history.forward()) it will return the URL being navigated from.
This isn't the case with the $locationChangeSuccess event, which behaves as expected.