diff options
| author | Misko Hevery | 2012-01-06 18:10:47 -0800 |
|---|---|---|
| committer | Misko Hevery | 2012-01-10 22:27:00 -0800 |
| commit | 5143e7bf065a3cbdf8400cf095b653d51bc83b8f (patch) | |
| tree | 980149c365d4cb5586d27975d26366a25ff7be6a /docs/content/misc/started.ngdoc | |
| parent | afd25446d23f24872eb20ac79c8fbd2cff203ef0 (diff) | |
| download | angular.js-5143e7bf065a3cbdf8400cf095b653d51bc83b8f.tar.bz2 | |
feat(module): new module loader
Diffstat (limited to 'docs/content/misc/started.ngdoc')
| -rw-r--r-- | docs/content/misc/started.ngdoc | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/docs/content/misc/started.ngdoc b/docs/content/misc/started.ngdoc index 591fb859..08e37668 100644 --- a/docs/content/misc/started.ngdoc +++ b/docs/content/misc/started.ngdoc @@ -27,18 +27,17 @@ Now let's take a closer look at that code, and see what is going on behind the scenes. The first line of interest defines the `ng` namespace, which makes -AngularJS work across all browsers (especially important for IE): +AngularJS work across all browsers (especially important for IE). The +`ng:app` tags tells angular to process the entire HTML when it is loaded: <pre> - <html xmlns:ng="http://angularjs.org"> + <html xmlns:ng="http://angularjs.org" ng:app> </pre> -The next line downloads the angular script, and instructs angular to process -the entire HTML page when it is loaded: +The next line downloads the angular script: <pre> - <script type="text/javascript" src="http://code.angularjs.org/angular-?.?.?.min.js" -ng:autobind></script> + <script type="text/javascript" src="http://code.angularjs.org/angular-?.?.?.min.js"></script> </pre> (For details on what happens when angular processes an HTML page, |
