aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorakerekes2013-12-29 09:24:32 -0500
committerCaitlin Potter2014-01-15 19:31:06 -0500
commit6a9ccacd626229b75629f652d13221fd37996432 (patch)
treefa34f90b371a02f82f757d7615c651442bbc3019
parente591ddcb30a2cfd9dedcc7cfbd38db29725c4780 (diff)
downloadangular.js-6a9ccacd626229b75629f652d13221fd37996432.tar.bz2
docs(concepts): fix typos in explanation
Code uses module names with '2' as suffix while the explanation used the module names without the suffix. The diagram is correct but also does not suffix the module names. Closes #5567
-rw-r--r--docs/content/guide/concepts.ngdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/guide/concepts.ngdoc b/docs/content/guide/concepts.ngdoc
index 34ad14a8..9581514d 100644
--- a/docs/content/guide/concepts.ngdoc
+++ b/docs/content/guide/concepts.ngdoc
@@ -272,8 +272,8 @@ including the configuration of all modules that this module depends on.
In the example above:
The template contains the directive `ng-app="invoice2"`. This tells Angular
to use the `invoice` module as the main module for the application.
-The code snippet `angular.module('invoice', ['finance'])` specifies that the `invoice` module depends on the
-`finance` module. By this, Angular uses the `InvoiceController` as well as the `currencyConverter` service.
+The code snippet `angular.module('invoice2', ['finance2'])` specifies that the `invoice2` module depends on the
+`finance2` module. By this, Angular uses the `InvoiceController` as well as the `currencyConverter` service.
Now that Angular knows of all the parts of the application, it needs to create them.
In the previous section we saw that controllers are created using a factory function.