File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 255255 * scope. This makes it possible for the widget to have private state, and the transclusion to
256256 * be bound to the parent (pre-`isolate`) scope.
257257 *
258- * * `true` - transclude the content of the directive.
259- * * `'element'` - transclude the whole element including any directives defined at lower priority.
258+ * There are two kinds of transclusion depending upon whether you want to transclude just the contents of the
259+ * directive's element or the entire element:
260+ *
261+ * * `true` - transclude the content (i.e. the child nodes) of the directive's element.
262+ * * `'element'` - transclude the whole of the directive's element including any directives on this
263+ * element that defined at a lower priority than this directive. When used, the `template`
264+ * property is ignored.
260265 *
261266 * <div class="alert alert-warning">
262267 * **Note:** When testing an element transclude directive you must not place the directive at the root of the
You can’t perform that action at this time.
0 commit comments