Skip to content

1.0.0-beta.1 onEnter/onExit no longer injectable? #2863

Closed
@orneryd

Description

@orneryd

I would suggest that this change be reverted and allow dependencies to be injected into the onEnter/onExit hooks.

This allows services such as the $modal service from foundation/bootstrap to open/close modals based on states instead of managing that inside of a controller. it allows for much more dynamic behavior of states.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions