From 826450da204504258489fcc13cb1c478ca1a6feb Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Wed, 21 May 2014 14:27:06 +0100 Subject: [PATCH] docs($compile): remove reference to ngRepeat providing compile function ngRepeat no longer has the compile function in its directive definition object, since it retrieves its transclusion via the link function. Closes 5638 --- src/ng/compile.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/ng/compile.js b/src/ng/compile.js index 1d0d901f..e443316b 100644 --- a/src/ng/compile.js +++ b/src/ng/compile.js @@ -275,11 +275,7 @@ * ``` * * The compile function deals with transforming the template DOM. Since most directives do not do - * template transformation, it is not used often. Examples that require compile functions are - * directives that transform template DOM, such as {@link - * api/ng.directive:ngRepeat ngRepeat}, or load the contents - * asynchronously, such as {@link ngRoute.directive:ngView ngView}. The - * compile function takes the following arguments. + * template transformation, it is not used often. The compile function takes the following arguments: * * * `tElement` - template element - The element where the directive has been declared. It is * safe to do template transformation on the element and child elements only.