docs(guide/concepts): reference correct module name.

Fixed a mistake, changed invoice to invoice2.

Closes #6438
This commit is contained in:
adeelcap15
2014-02-25 09:05:52 +05:00
committed by Caitlin Potter
parent 4c4537e65e
commit 1b1413a9d4

View File

@@ -271,7 +271,7 @@ 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.
to use the `invoice2` module as the main module for the application.
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.