diff options
Diffstat (limited to 'docs/content/misc')
| -rw-r--r-- | docs/content/misc/downloading.ngdoc | 6 | ||||
| -rw-r--r-- | docs/content/misc/started.ngdoc | 9 |
2 files changed, 7 insertions, 8 deletions
diff --git a/docs/content/misc/downloading.ngdoc b/docs/content/misc/downloading.ngdoc index f2d4eec4..892ab673 100644 --- a/docs/content/misc/downloading.ngdoc +++ b/docs/content/misc/downloading.ngdoc @@ -16,14 +16,14 @@ development. production. To point your code to an angular script on the angular server, use the following template. This -example points to (non-minified) version 0.9.12: +example points to (non-minified) version 0.10.6: <pre> <!doctype html> - <html xmlns:ng="http://angularjs.org" ng-app> + <html ng-app> <head> <title>My Angular App</title> - <script src="http://code.angularjs.org/angular-0.9.12.js"></script> + <script src="http://code.angularjs.org/angular-0.10.6.js"></script> </head> <body> </body> diff --git a/docs/content/misc/started.ngdoc b/docs/content/misc/started.ngdoc index a8dd84a7..933f916f 100644 --- a/docs/content/misc/started.ngdoc +++ b/docs/content/misc/started.ngdoc @@ -21,14 +21,13 @@ A great way for you to get started with AngularJS is to create the tradtional The resulting web page should look something like the following: -<img class="center" src="img/helloworld.png" border="1" /> +<img class="center" src="img/helloworld.png" border="1"> 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). The -`ng-app` tags tells angular to process the entire HTML when it is loaded: +The `ng-app` tags tells angular to process the entire HTML page and bootstrap the app when the page +is loaded: <pre> <html ng-app> @@ -37,7 +36,7 @@ AngularJS work across all browsers (especially important for IE). The The next line downloads the angular script: <pre> - <script type="text/javascript" src="http://code.angularjs.org/angular-?.?.?.min.js"></script> + <script src="http://code.angularjs.org/angular-?.?.?.min.js"></script> </pre> (For details on what happens when angular processes an HTML page, |
