mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-14 12:08:27 +08:00
docs(guide/concepts): reference correct module name.
Fixed a mistake, changed invoice to invoice2. Closes #6438
This commit is contained in:
committed by
Caitlin Potter
parent
4c4537e65e
commit
1b1413a9d4
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user