Skip to content
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
@provegard

Description

@provegard

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:

http://plnkr.co/edit/EiZVMK?p=preview

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions