Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
christopherthielen opened this issue Mar 30, 2016 · 0 comments
Closed

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

christopherthielen opened this issue Mar 30, 2016 · 0 comments

Comments

@christopherthielen
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant