ui-mask
ui-mask copied to clipboard
Using ui-mask doesn't work with ng-annotate
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?