mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-24 03:55:49 +08:00
docs(tutorial): fix typos in steps 2 and 3
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user