diff options
| author | Peter Bacon Darwin | 2014-02-12 22:47:42 +0000 |
|---|---|---|
| committer | Peter Bacon Darwin | 2014-02-16 19:03:41 +0000 |
| commit | a564160511bf1bbed5a4fe5d2981fae1bb664eca (patch) | |
| tree | 16fe76a5c8a4e75c50db5f15224f1b954060cd38 /docs/content/guide/bootstrap.ngdoc | |
| parent | 06f2ba899fac8ad004bf65dce39a3b05e2387c0f (diff) | |
| download | angular.js-a564160511bf1bbed5a4fe5d2981fae1bb664eca.tar.bz2 | |
docs(bike-shed-migration): fix url-based links refs to AUTO module
Diffstat (limited to 'docs/content/guide/bootstrap.ngdoc')
| -rw-r--r-- | docs/content/guide/bootstrap.ngdoc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/content/guide/bootstrap.ngdoc b/docs/content/guide/bootstrap.ngdoc index d5098a23..7458762f 100644 --- a/docs/content/guide/bootstrap.ngdoc +++ b/docs/content/guide/bootstrap.ngdoc @@ -55,12 +55,12 @@ initialization. Angular initializes automatically upon `DOMContentLoaded` event or when the `angular.js` script is evaluated if at that time `document.readyState` is set to `'complete'`. At this point Angular looks -for the {@link api/ng.directive:ngApp `ng-app`} directive which designates your application root. -If the {@link api/ng.directive:ngApp `ng-app`} directive is found then Angular will: +for the {@link ng.directive:ngApp `ng-app`} directive which designates your application root. +If the {@link ng.directive:ngApp `ng-app`} directive is found then Angular will: * load the {@link guide/module module} associated with the directive. - * create the application {@link api/AUTO.$injector injector} - * compile the DOM treating the {@link api/ng.directive:ngApp + * create the application {@link auto.$injector injector} + * compile the DOM treating the {@link ng.directive:ngApp `ng-app`} directive as the root of the compilation. This allows you to tell it to treat only a portion of the DOM as an Angular application. @@ -103,7 +103,7 @@ Here is an example of manually initializing Angular: ``` Note that we have provided the name of our application module to be loaded into the injector as the second -parameter of the {@link api/angular.bootstrap} function. Notice that `angular.bootstrap` will not create modules +parameter of the {@link angular.bootstrap} function. Notice that `angular.bootstrap` will not create modules on the fly. You must create any custom {@link guide/module modules} before you pass them as a parameter. This is the sequence that your code should follow: @@ -111,7 +111,7 @@ This is the sequence that your code should follow: 1. After the page and all of the code is loaded, find the root element of your AngularJS application, which is typically the root of the document. - 2. Call {@link api/angular.bootstrap} to {@link compiler compile} the element into an + 2. Call {@link angular.bootstrap} to {@link compiler compile} the element into an executable, bi-directionally bound application. ## Deferred Bootstrap @@ -122,7 +122,7 @@ into the DI registry which can replace or augment DI services for the purpose of instrumentation or mocking out heavy dependencies. If `window.name` contains prefix `NG_DEFER_BOOTSTRAP!` when -{@link api/angular.bootstrap} is called, the bootstrap process will be paused +{@link angular.bootstrap} is called, the bootstrap process will be paused until `angular.resumeBootstrap()` is called. `angular.resumeBootstrap()` takes an optional array of modules that |
