This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
$route should allow canceling the navigation #592
Closed
Description
we need api for allowing that during $beforeRouteChange event.
With new $location is easy, as we can revert $location and then it will never be propagated into browser.
The difficult part is, if we want to allow canceling route change which was triggered by browser (user has typed different url).
The same propblem is when using hashbang mode, then clicking any link means updating the browser's address bar first...