aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/content/tutorial/step_02.ngdoc2
-rw-r--r--docs/content/tutorial/step_03.ngdoc2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/tutorial/step_02.ngdoc b/docs/content/tutorial/step_02.ngdoc
index 6968f479..ce5f321c 100644
--- a/docs/content/tutorial/step_02.ngdoc
+++ b/docs/content/tutorial/step_02.ngdoc
@@ -178,7 +178,7 @@ execute the tests and report the results in the terminal.
* Create a new model property in the controller and bind to it from the template. For example:
- this.hello = "Hello, World!"
+ $scope.hello = "Hello, World!"
Refresh your browser to make sure it says, "Hello, World!"
diff --git a/docs/content/tutorial/step_03.ngdoc b/docs/content/tutorial/step_03.ngdoc
index a8db32bc..4028dcda 100644
--- a/docs/content/tutorial/step_03.ngdoc
+++ b/docs/content/tutorial/step_03.ngdoc
@@ -35,7 +35,7 @@ __`app/index.html`:__
Fulltext Search: <input ng-model="query">
<ul class="phones">
- <li ng-repeat="phone in phones | filter(query)">
+ <li ng-repeat="phone in phones | filter:query">
{{phone.name}}
<p>{{phone.snippet}}</p>
</li>