aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/guide/dev_guide.di.understanding_di.ngdoc
diff options
context:
space:
mode:
authorMisko Hevery2012-03-13 19:36:09 -0700
committerMisko Hevery2012-03-13 19:36:09 -0700
commit8b8fdddc0b13f90dcc081b7d29a79f1452f2dd7b (patch)
treee35fc500e5f2f760b602dce7215ad7679ba35e28 /docs/content/guide/dev_guide.di.understanding_di.ngdoc
parentce4b630524fe15185ea248ed2344549632c446ff (diff)
downloadangular.js-8b8fdddc0b13f90dcc081b7d29a79f1452f2dd7b.tar.bz2
docs(links): corrected borken links
Diffstat (limited to 'docs/content/guide/dev_guide.di.understanding_di.ngdoc')
-rw-r--r--docs/content/guide/dev_guide.di.understanding_di.ngdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/guide/dev_guide.di.understanding_di.ngdoc b/docs/content/guide/dev_guide.di.understanding_di.ngdoc
index bbb71276..dd6dda03 100644
--- a/docs/content/guide/dev_guide.di.understanding_di.ngdoc
+++ b/docs/content/guide/dev_guide.di.understanding_di.ngdoc
@@ -27,9 +27,9 @@ In the illustration above, the dependency injection sequence proceeds as follows
1. Module "phonecat" is created and all the service providers are registered with this module.
(the "ng" module is created by Angular behind the scenes as well)
-2. `ng:app` triggers bootstrap sequence on given element, during which angular creates injector,
+2. `ng-app` triggers bootstrap sequence on given element, during which angular creates injector,
loads "phonecat" and "ng" modules and compiles the template.
-3. The `ng:controller` directive implicitly creates a new child scope and instantiates
+3. The `ng-controller` directive implicitly creates a new child scope and instantiates
`PhoneListCtrl` controller.
4. Injector identifies the `$http` service as `PhoneListCtrl` controller's only dependency.
5. Injector checks its instances cache whether the `$http` service has already been instantiated.