Merge pull request #8046 from uurien/master

controller field in IComponentOptions
This commit is contained in:
Masahiro Wakame
2016-02-15 22:58:14 +09:00
+1 -1
View File
@@ -1685,7 +1685,7 @@ declare module angular {
* Controller constructor function that should be associated with newly created scope or the name of a registered
* controller if passed as a string. Empty function by default.
*/
controller?: string | Function;
controller?: any;
/**
* An identifier name for a reference to the controller. If present, the controller will be published to scope under
* the controllerAs name. If not present, this will default to be the same as the component name.