aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Minar2012-04-10 06:04:13 -0700
committerIgor Minar2012-04-10 06:04:13 -0700
commitac2f0cece62c51fbf77e9b9f40ac40d8fcf9af17 (patch)
tree5df12def0269ebb2f7af031ad19d6866185a891e
parentfbaa1968b7c596ccb63ea8b4be1d3bd92eda50d8 (diff)
downloadangular.js-ac2f0cece62c51fbf77e9b9f40ac40d8fcf9af17.tar.bz2
docs(tutorial): fix typos in steps 2 and 3
-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>