Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit cd6d21e

Browse files
docs(tutorial/step-2): note that ng-app now needs a module name
Closes #7655
1 parent 9cf5b35 commit cd6d21e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/content/tutorial/step_02.ngdoc

+5
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@ __controller__ to the DOM at this point:
6565
bindings, which are referring to our application model, which is set up in our `PhoneListCtrl`
6666
controller.
6767

68+
<div class="alert alert-info">
69+
Note: We have specified an {@link angular.Module Angular Module} to load using `ng-app="phonecatApp"`,
70+
where `phonecatApp` is the name of our module. This module will contain the `PhoneListCtrl`.
71+
</div>
72+
6873
<img class="diagram" src="img/tutorial/tutorial_02.png">
6974

7075
## Model and Controller

0 commit comments

Comments
 (0)