diff options
Diffstat (limited to 'docs/content/misc')
| -rw-r--r-- | docs/content/misc/downloading.ngdoc | 4 | ||||
| -rw-r--r-- | docs/content/misc/started.ngdoc | 11 |
2 files changed, 7 insertions, 8 deletions
diff --git a/docs/content/misc/downloading.ngdoc b/docs/content/misc/downloading.ngdoc index d7cb086e..c99de118 100644 --- a/docs/content/misc/downloading.ngdoc +++ b/docs/content/misc/downloading.ngdoc @@ -20,10 +20,10 @@ example points to (non-minified) version 0.9.12: <pre> <!doctype html> - <html xmlns:ng="http://angularjs.org"> + <html xmlns:ng="http://angularjs.org" ng:app> <head> <title>My Angular App</title> - <script src="http://code.angularjs.org/angular-0.9.12.js" ng:autobind></script> + <script src="http://code.angularjs.org/angular-0.9.12.js"></script> </head> <body> </body> 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, |
