mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-17 03:01:06 +00:00
docs(tutorial): fix typos in steps 2 and 3
This commit is contained in:
parent
fbaa1968b7
commit
ac2f0cece6
2 changed files with 2 additions and 2 deletions
|
|
@ -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:
|
* 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!"
|
Refresh your browser to make sure it says, "Hello, World!"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ __`app/index.html`:__
|
||||||
Fulltext Search: <input ng-model="query">
|
Fulltext Search: <input ng-model="query">
|
||||||
|
|
||||||
<ul class="phones">
|
<ul class="phones">
|
||||||
<li ng-repeat="phone in phones | filter(query)">
|
<li ng-repeat="phone in phones | filter:query">
|
||||||
{{phone.name}}
|
{{phone.name}}
|
||||||
<p>{{phone.snippet}}</p>
|
<p>{{phone.snippet}}</p>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue