mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
docs(tutorial): mention the controller along the scope
This commit is contained in:
parent
bc8c5257e8
commit
3f943e7246
1 changed files with 1 additions and 1 deletions
|
|
@ -143,7 +143,7 @@ really is that easy to set up any functional, readable, end-to-end test.
|
|||
<title>Google Phone Gallery: {{query}}</title>
|
||||
|
||||
However, when you reload the page, you won't see the expected result. This is because the "query"
|
||||
model lives in the scope defined by the body element:
|
||||
model lives in the scope, defined by the `ng-controller="PhoneListCtrl"` directive, on the body element:
|
||||
|
||||
<body ng-controller="PhoneListCtrl">
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue