File tree 1 file changed +9
-2
lines changed
1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 731
731
* directives; if given, it will be passed through to the link functions of
732
732
* directives found in `element` during compilation.
733
733
* * `transcludeControllers` - an object hash with keys that map controller names
734
- * to controller instances; if given, it will make the controllers
735
- * available to directives.
734
+ * to a hash with the key `instance`, which maps to the controller instance;
735
+ * if given, it will make the controllers available to directives on the compileNode:
736
+ * ```
737
+ * {
738
+ * parent: {
739
+ * instance: parentControllerInstance
740
+ * }
741
+ * }
742
+ * ```
736
743
* * `futureParentElement` - defines the parent to which the `cloneAttachFn` will add
737
744
* the cloned elements; only needed for transcludes that are allowed to contain non html
738
745
* elements (e.g. SVG elements). See also the directive.controller property.
You can’t perform that action at this time.
0 commit comments