You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's some history here about why this is difficult: olov#22
In general, in this use-case (and all use-cases, really), I strongly recommend using the explicit 'ngInject'; prologue directives (and explicitOnly configuration option) to annotate your functions.
Also, in your specific example, I'd advise against using a lambda function for a controller declaration, as you'll have no way of accessing your controller's of this.
I'll leave this open, as it's something that we could hypothetically support some day. However, I want to lean on the side of caution when making any changes that could introduce false-positives.
And probably with any other .module api
I use webpack and angular
The text was updated successfully, but these errors were encountered: