diff options
Diffstat (limited to 'docs/content/guide/bootstrap.ngdoc')
| -rw-r--r-- | docs/content/guide/bootstrap.ngdoc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/content/guide/bootstrap.ngdoc b/docs/content/guide/bootstrap.ngdoc index bd888b2d..997ec3af 100644 --- a/docs/content/guide/bootstrap.ngdoc +++ b/docs/content/guide/bootstrap.ngdoc @@ -49,14 +49,14 @@ initialization. # Automatic Initialization Angular initializes automatically upon `DOMContentLoaded` event, at which point angular looks for -the {@link api/angular.module.ng.$compileProvider.directive.ng:app `ng-app`} directive which +the {@link api/angular.module.ng.$compileProvider.directive.ngApp `ng-app`} directive which designates your application root. If {@link api/angular.module.ng.$compileProvider.directive.ng:app `ng-app`} directive is found then Angular will: * load the {@link guide/module module} associated with the directive. * create the application {@link api/angular.module.AUTO.$injector injector} - * compile the DOM treating the {@link api/angular.module.ng.$compileProvider.directive.ng:app + * compile the DOM treating the {@link api/angular.module.ng.$compileProvider.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. @@ -82,7 +82,7 @@ or the need to perform an operation before the Angular compiles a page. Here is an example of manually initializing Angular. The example is equivalent to using the {@link -api/angular.module.ng.$compileProvider.directive.ng:app ng:app} directive. +api/angular.module.ng.$compileProvider.directive.ngApp ng-app} directive. <pre> <!doctype html> |
