Skip to content

$stateChangeSuccess should expose locals #228

@cburgdorf

Description

@cburgdorf

In the Angular default routing the $routeChangeSuccess gives access to fromRoute.locals and toRoute.locals.

The locals give access to the resolved promises of the configuration block of the route.

However, with the ui-router it seems there is no way to get access to the resolved promises from the state resolve configuration block.

Am I doing it wrong? Is there another way to access those without being forced to resolve them again?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions