Skip to content

1.0.0-alpha.1: can't inject uiCanExit #2661

Closed
@christopherthielen

Description

@christopherthielen

uiCanExit was being bound when registered, like so: $scope.$on('$destroy', $transitions.onBefore({exiting: cfg.node.state.name}, controllerInstance.uiCanExit.bind(controllerInstance)));

This caused ng1 injector not to be able to annotate, because it was a bound copy of the original fn.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions