docs(tutorial): mention the controller along the scope

This commit is contained in:
Roland 2013-07-24 22:57:11 +02:00 committed by Pete Bacon Darwin
parent bc8c5257e8
commit 3f943e7246

View file

@ -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">