From dae8d88e1cc41af8e61396f04792cf443574a743 Mon Sep 17 00:00:00 2001 From: Suho Lee Date: Wed, 19 Jun 2019 17:00:07 +0900 Subject: [PATCH] Add support for ui-router componentProvider --- ng-annotate-main.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ng-annotate-main.js b/ng-annotate-main.js index b5dba04..4f1647c 100644 --- a/ng-annotate-main.js +++ b/ng-annotate-main.js @@ -171,6 +171,7 @@ function matchNgUi(path) { // ... // controller: function($scope) // controllerProvider: function($scope) + // componentProvider: function($scope) // templateProvider: function($scope) // onEnter: function($scope) // onExit: function($scope) @@ -252,6 +253,7 @@ function matchNgUi(path) { matchProp("controller", props), matchProp("controllerProvider", props), matchProp("templateProvider", props), + matchProp("componentProvider", props), matchProp("onEnter", props), matchProp("onExit", props), ]; @@ -283,6 +285,7 @@ function matchNgUi(path) { res.push(matchProp("controller", props)); res.push(matchProp("controllerProvider", props)); res.push(matchProp("templateProvider", props)); + res.push(matchProp("componentProvider", props)); res.push.apply(res, matchResolve(props)); } });