-
Notifications
You must be signed in to change notification settings - Fork 3k
DI annotation fails on controllerProvider #556
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
Comments
The relevant code is here: https://github.com/angular-ui/ui-router/blob/master/src/state.js#L528-L530 It works fine the non-annotated way (i.e. function def only), so I have no idea why it wouldn't work the annotated way as well. I'll dig into it when I can, but it might not be for a while. :-/ |
@nateabele Confirmed it works fine the non-annotated way. I'd be curious if someone can confirm my issue. |
A current solution is to use the |
Weird, |
@jasonkuhrt And to be clear, yes, I changed the relevant unit test to use the array-annotated style and it failed, so the issue is definitely confirmed. |
No time to look closely at the "why" but I'm pretty sure this is not working (but should be):
The text was updated successfully, but these errors were encountered: