mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-05-03 15:15:00 +08:00
docs(tutorial/step-3): add module to ng-app directive in code sample
Closes #5184
This commit is contained in:
committed by
Pete Bacon Darwin
parent
1e7675ad4c
commit
b38a2287f2
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user