aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/guide/bootstrap.ngdoc
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/guide/bootstrap.ngdoc')
-rw-r--r--docs/content/guide/bootstrap.ngdoc18
1 files changed, 9 insertions, 9 deletions
diff --git a/docs/content/guide/bootstrap.ngdoc b/docs/content/guide/bootstrap.ngdoc
index b2c681b5..383aabf5 100644
--- a/docs/content/guide/bootstrap.ngdoc
+++ b/docs/content/guide/bootstrap.ngdoc
@@ -41,26 +41,26 @@ initialization.
* If you chose 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:`.)
-
+
<html xmlns:ng="http://angularjs.org">
-
-
+
+
# Automatic Initialization
Angular initializes automatically upon `DOMContentLoaded` event, at which point angular looks for
-the {@link api/angular.module.ng.$compileProvider.directive.ngApp `ng-app`} directive which
+the {@link api/ng.directive:ngApp `ng-app`} directive which
designates your application root. If {@link
-api/angular.module.ng.$compileProvider.directive.ngApp `ng-app`} directive is found then Angular
+api/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/angular.module.AUTO.$injector injector}
- * compile the DOM treating the {@link api/angular.module.ng.$compileProvider.directive.ngApp
+ * create the application {@link api/AUTO.$injector injector}
+ * compile the DOM treating the {@link api/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.
-
+
<pre>
<!doctype html>
<html ng-app="optionalModuleName">
@@ -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.ngApp ng-app} directive.
+api/ng.directive:ngApp ng-app} directive.
<pre>
<!doctype html>