mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
docs(tutorial/step-3): add module to ng-app directive in code sample
Closes #5184
This commit is contained in:
parent
1e7675ad4c
commit
b38a2287f2
1 changed files with 1 additions and 1 deletions
|
|
@ -154,7 +154,7 @@ really is that easy to set up any functional, readable, end-to-end test.
|
|||
`ngController` declaration to the HTML element because it is the common parent of both the body
|
||||
and title elements:
|
||||
|
||||
<html ng-app ng-controller="PhoneListCtrl">
|
||||
<html ng-app="phonecatApp" ng-controller="PhoneListCtrl">
|
||||
|
||||
Be sure to __remove__ the `ng-controller` declaration from the body element.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue