Skip to content

$state.go does not regiester a new entry in the browser history when navigating to child state #1888

@DmitryEfimenko

Description

@DmitryEfimenko

I have a case when I need to run parent state's controller to determine which child state needs to be loaded (which is why I cannot set it abstract). The issue arises when after loading of first child state, and navigating to another child state - pressing the browser's "Back" button will not redirect back to the first child state.

The issue is described in details in StackOverflow Question and can be observed in this Plunker example

I saw "How to set up default child state" in FAQ, but it's not quite my scenario, since I actually need parent state to run initially.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions