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.
$locationChangeStart handler called outside of $apply/$digest #5118
Closed
Description
I just upgraded to 1.0.8 and noticed that $locationChangeStart is now broadcast when the user hits the back button.
However, the behavior is inconsistent with normal location changes wrt $apply/$digest. Normally, the event handler for $locationChangeStart is called within $apply/$digest, but that's not the case when the user hits the back button.
Demonstration of the problem: