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.

$location + history.pushState = $digest infinite loop #3924

@agentcooper

Description

@agentcooper

Here is the test-case: http://jsbin.com/IxAGEzI/1/

We used Angular on page with some old code, which uses history.pushState to change the url at some point. After that, when entering digest loop, it goes crazy and "Infinite $digest Loop" error happens.

So should Angular work fine in that situation or not?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions