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 6926ef8f67
commit 7f6da764e1

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> <title>Google Phone Gallery: {{query}}</title>
However, when you reload the page, you won't see the expected result. This is because the "query" 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"> <body ng-controller="PhoneListCtrl">