Open spalonytoster opened 7 years ago
Hello. I want to inject uiMaskConfigProvider implicitly (using ng-annotate). I have an angular config function like this:
uiMaskConfigProvider
ng-annotate
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?
Hello. I want to inject
uiMaskConfigProvider
implicitly (usingng-annotate
). I have an angular config function like this:The problem is I can't use it like I normally do:
but I have to do it the standard way.
What is causing this behavior? Am I missing something?