Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit ac2f0ce

Browse files
committed
docs(tutorial): fix typos in steps 2 and 3
1 parent fbaa196 commit ac2f0ce

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/content/tutorial/step_02.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ execute the tests and report the results in the terminal.
178178

179179
* Create a new model property in the controller and bind to it from the template. For example:
180180

181-
this.hello = "Hello, World!"
181+
$scope.hello = "Hello, World!"
182182

183183
Refresh your browser to make sure it says, "Hello, World!"
184184

docs/content/tutorial/step_03.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ __`app/index.html`:__
3535
Fulltext Search: <input ng-model="query">
3636

3737
<ul class="phones">
38-
<li ng-repeat="phone in phones | filter(query)">
38+
<li ng-repeat="phone in phones | filter:query">
3939
{{phone.name}}
4040
<p>{{phone.snippet}}</p>
4141
</li>

0 commit comments

Comments
 (0)