From b4a7ad894599214157088ca537a472455bd98c98 Mon Sep 17 00:00:00 2001 From: Boris Aranovich Date: Wed, 20 Jul 2016 10:18:06 +0300 Subject: [PATCH] Comment from official docs about angular.IComponentOptions.require --- angularjs/angular.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/angularjs/angular.d.ts b/angularjs/angular.d.ts index e9175a25ce..2d9469ef80 100644 --- a/angularjs/angular.d.ts +++ b/angularjs/angular.d.ts @@ -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}; }