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
This commit is contained in:
Peter Bacon Darwin
2014-05-21 14:27:06 +01:00
parent ccc8ec869b
commit 4195b04072

View File

@@ -262,11 +262,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.