diff options
| author | Misko Hevery | 2012-03-13 19:36:09 -0700 |
|---|---|---|
| committer | Misko Hevery | 2012-03-13 19:36:09 -0700 |
| commit | 8b8fdddc0b13f90dcc081b7d29a79f1452f2dd7b (patch) | |
| tree | e35fc500e5f2f760b602dce7215ad7679ba35e28 /docs/content/guide/dev_guide.bootstrap.auto_bootstrap.ngdoc | |
| parent | ce4b630524fe15185ea248ed2344549632c446ff (diff) | |
| download | angular.js-8b8fdddc0b13f90dcc081b7d29a79f1452f2dd7b.tar.bz2 | |
docs(links): corrected borken links
Diffstat (limited to 'docs/content/guide/dev_guide.bootstrap.auto_bootstrap.ngdoc')
| -rw-r--r-- | docs/content/guide/dev_guide.bootstrap.auto_bootstrap.ngdoc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/content/guide/dev_guide.bootstrap.auto_bootstrap.ngdoc b/docs/content/guide/dev_guide.bootstrap.auto_bootstrap.ngdoc index 6129056c..5cae98a5 100644 --- a/docs/content/guide/dev_guide.bootstrap.auto_bootstrap.ngdoc +++ b/docs/content/guide/dev_guide.bootstrap.auto_bootstrap.ngdoc @@ -3,11 +3,11 @@ @description Angular initializes automatically when you load the angular script into your page that contains an element -with `ng:app` directive: +with `ng-app` directive: <pre> <!doctype html> -<html ng:app> +<html ng-app> <head> <script src="angular.js"></script> </head> @@ -22,16 +22,16 @@ From a high-level view, this is what happens during angular's automatic initiali 1. The browser loads the page, and then runs the angular script. Angular waits for the `DOMContentLoaded` (or 'Load') event to attempt to bootstrap. -2. Angular looks for the `ng:app` directive. If found it then proceeds to compile the DOM element and its children. -Optionally the `ng:app` may specify a {@link api/angular.module module} to load before the compilation. For details on +2. Angular looks for the `ng-app` directive. If found it then proceeds to compile the DOM element and its children. +Optionally the `ng-app` may specify a {@link api/angular.module module} to load before the compilation. For details on how the compiler works, see {@link dev_guide.compiler Angular HTML Compiler}. ## Initialization Options -The reason why `ng:app` exists is because angular should not assume that the entire HTML +The reason why `ng-app` exists is because angular should not assume that the entire HTML document should be processed just because the `angular.js` script is included. In order to compile -only a part of the document set the `ng:app` on the root element of this portion. +only a part of the document set the `ng-app` on the root element of this portion. ## Global Angular Object |
