aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/guide/concepts.ngdoc
diff options
context:
space:
mode:
authordeepak-kapoor2013-11-25 22:08:30 +1100
committerPete Bacon Darwin2013-11-27 22:59:13 +0000
commit68dd621082b6ccd347cf61e6b9f89025f4fe92dc (patch)
treea340c81f697b7f0565e57c1df820b2c5f4947b36 /docs/content/guide/concepts.ngdoc
parent3abfb4ef510ea68b9821edbd63c94d5e513f11db (diff)
downloadangular.js-68dd621082b6ccd347cf61e6b9f89025f4fe92dc.tar.bz2
docs(guide/concepts): fix incorrect module name in example
Closes #5116
Diffstat (limited to 'docs/content/guide/concepts.ngdoc')
-rw-r--r--docs/content/guide/concepts.ngdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/guide/concepts.ngdoc b/docs/content/guide/concepts.ngdoc
index 762bc925..4667339c 100644
--- a/docs/content/guide/concepts.ngdoc
+++ b/docs/content/guide/concepts.ngdoc
@@ -270,7 +270,7 @@ When Angular starts, it will use the configuration of the module with the name d
including the configuration of all modules that this module depends on.
In the example above:
-The template contains the directive `ng-app="invoice"`. This tells Angular
+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.