mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +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:
|
||||
|
||||
this.hello = "Hello, World!"
|
||||
$scope.hello = "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">
|
||||
|
||||
<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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue