diff options
Diffstat (limited to 'docs/content/guide/dev_guide.compiler.understanding_compiler.ngdoc')
| -rw-r--r-- | docs/content/guide/dev_guide.compiler.understanding_compiler.ngdoc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/content/guide/dev_guide.compiler.understanding_compiler.ngdoc b/docs/content/guide/dev_guide.compiler.understanding_compiler.ngdoc index 94bab26d..d5678be4 100644 --- a/docs/content/guide/dev_guide.compiler.understanding_compiler.ngdoc +++ b/docs/content/guide/dev_guide.compiler.understanding_compiler.ngdoc @@ -6,8 +6,7 @@ Every {@link api/angular.widget widget}, {@link api/angular.directive directive} dev_guide.compiler.markup markup} is defined with a compile function, which the angular compiler executes on each widget or directive it encounters. The compile function optionally returns a link function. This compilation process happens automatically when the page is loaded when you specify -`ng:autobind` in the script tag from which you load the angular script file. (See {@link -dev_guide.bootstrap Initializing Angular}.) +`ng:app` on the root element of the application. (See {@link dev_guide.bootstrap Initializing Angular}.) The compile and link functions are related as follows: |
