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
Is angular.extend() your problem, or is it the fact that you're doing this in an ES6 export statement?
Either way, I don't think that there's a good path for implicitly detecting annotatable functions inside of something like angular.extend(), _.extend(), or Object.assign() without hard-coding lots of special cases, or potentially picking up tons of false-positives.
Adding /*@ngInject*/ is definitely the way to go here.
angular.extend()
usage doesn't seem to be supported by ng-annotate:Adding
/*@ngInject*/
did it for me:The text was updated successfully, but these errors were encountered: