Using ui-mask doesn't work with ng-annotate
spalonytoster opened this issue · 0 comments
spalonytoster commented
Hello. I want to inject uiMaskConfigProvider
implicitly (using ng-annotate
).
I have an angular config function like this:
function config($locationProvider, $urlRouterProvider, uiMaskConfigProvider) {
...
}
The problem is I can't use it like I normally do:
someModule.config(config);
but I have to do it the standard way.
someModule.config(['$locationProvider', '$urlRouterProvider', 'uiMask.ConfigProvider', config]);
What is causing this behavior? Am I missing something?