Skip to content

get $state info of toState in resolve #1018

@gruppjo

Description

@gruppjo

Hi,

I would like to access the state the app is trying to navigate to in a resolve. Apparently it's possible to get the state you're navigating away from by injecting $state, but not the state you're navigating to.
I don't know whether this is a bug or a feature request. But it would be great to be able to do so. I've been able to work around it (more details in link) but I think they're all messy.

I prepared a stackoverflow question for this:

http://stackoverflow.com/questions/22985988/angular-ui-router-get-state-name-in-resolve

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions