From 323862ff63d22a18b5d195fec1fabe4a28e00078 Mon Sep 17 00:00:00 2001 From: Izhaki Date: Tue, 7 Oct 2014 23:34:44 +0100 Subject: [PATCH] docs($compile): note template is ignored with element transclusion --- src/ng/compile.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ng/compile.js b/src/ng/compile.js index 8f93f7f6..13ca7666 100644 --- a/src/ng/compile.js +++ b/src/ng/compile.js @@ -303,7 +303,8 @@ * * * `true` - transclude the content (i.e. the child nodes) of the directive's element. * * `'element'` - transclude the whole of the directive's element including any directives on this - * element that defined at a lower priority than this directive. + * element that defined at a lower priority than this directive. When used, the `template` + * property is ignored. * * * #### `compile`