Skip to content

Commit 6a9ccac

Browse files
akerekescaitp
authored andcommitted
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 angular#5567
1 parent e591ddc commit 6a9ccac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/content/guide/concepts.ngdoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,8 @@ including the configuration of all modules that this module depends on.
272272
In the example above:
273273
The template contains the directive `ng-app="invoice2"`. This tells Angular
274274
to use the `invoice` module as the main module for the application.
275-
The code snippet `angular.module('invoice', ['finance'])` specifies that the `invoice` module depends on the
276-
`finance` module. By this, Angular uses the `InvoiceController` as well as the `currencyConverter` service.
275+
The code snippet `angular.module('invoice2', ['finance2'])` specifies that the `invoice2` module depends on the
276+
`finance2` module. By this, Angular uses the `InvoiceController` as well as the `currencyConverter` service.
277277

278278
Now that Angular knows of all the parts of the application, it needs to create them.
279279
In the previous section we saw that controllers are created using a factory function.

0 commit comments

Comments
 (0)