diff options
Diffstat (limited to 'docs/content')
| -rw-r--r-- | docs/content/guide/bootstrap.ngdoc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/content/guide/bootstrap.ngdoc b/docs/content/guide/bootstrap.ngdoc index 383aabf5..e4ead923 100644 --- a/docs/content/guide/bootstrap.ngdoc +++ b/docs/content/guide/bootstrap.ngdoc @@ -25,7 +25,7 @@ initialization. </pre> * Place the `script` tag at the buttom of the page. Placing script tags at the end of the page - impreves app load time becouse the HTML loading is not blocked by loading of the `angular.js` + improves app load time becouse the HTML loading is not blocked by loading of the `angular.js` script. You can get the latest bits from {@link http://code.angularjs.org}. Please don't link your production code to this URL, as it will expose a security hole on your site. For experimental development linking to our site is fine. @@ -38,7 +38,7 @@ initialization. <html ng-app> - * If you chose to use the old style directive syntax `ng:` then include xml-namespace in `html` + * If you choose to use the old style directive syntax `ng:` then include xml-namespace in `html` to make IE happy. (This is here for historical resons, and we no longer recomend use of `ng:`.) @@ -48,9 +48,9 @@ initialization. # Automatic Initialization -Angular initializes automatically upon `DOMContentLoaded` event, at which point angular looks for +Angular initializes automatically upon `DOMContentLoaded` event, at which point Angular looks for the {@link api/ng.directive:ngApp `ng-app`} directive which -designates your application root. If {@link +designates your application root. If the {@link api/ng.directive:ngApp `ng-app`} directive is found then Angular will: @@ -78,7 +78,7 @@ will: If you need to have more control over the initialization process, you can use a manual bootstrapping method instead. Examples of when you'd need to do this include using script loaders -or the need to perform an operation before the Angular compiles a page. +or the need to perform an operation before Angular compiles a page. Here is an example of manually initializing Angular. The example is equivalent to using the {@link @@ -99,7 +99,7 @@ api/ng.directive:ngApp ng-app} directive. </html> </pre> -This sequence that your code should follow: +This is the sequence that your code should follow: 1. After the page and all of the code is loaded, find the root of the HTML template, which is typically the root of the document. |
