Merge pull request #10195 from nomaed/patch-1

Comment from official docs about angular.IComponentOptions.require
This commit is contained in:
jramsay
2016-07-20 17:27:13 -07:00
committed by GitHub
+6
View File
@@ -1715,6 +1715,12 @@ declare namespace angular {
* Whether transclusion is enabled. Enabled by default.
*/
transclude?: boolean | string | {[slot: string]: string};
/**
* Requires the controllers of other directives and binds them to this component's controller.
* The object keys specify the property names under which the required controllers (object values) will be bound.
* Note that the required controllers will not be available during the instantiation of the controller,
* but they are guaranteed to be available just before the $onInit method is executed!
*/
require?: {[controller: string]: string};
}