diff options
| -rw-r--r-- | src/ng/filter/filter.js | 8 | ||||
| -rw-r--r-- | src/ng/filter/orderBy.js | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/ng/filter/filter.js b/src/ng/filter/filter.js index 525de42b..d7429f6b 100644 --- a/src/ng/filter/filter.js +++ b/src/ng/filter/filter.js @@ -43,22 +43,22 @@ Search: <input ng-model="searchText"> <table id="searchTextResults"> - <tr><th>Name</th><th>Phone</th><tr> + <tr><th>Name</th><th>Phone</th></tr> <tr ng-repeat="friend in friends | filter:searchText"> <td>{{friend.name}}</td> <td>{{friend.phone}}</td> - <tr> + </tr> </table> <hr> Any: <input ng-model="search.$"> <br> Name only <input ng-model="search.name"><br> Phone only <input ng-model="search.phone"å><br> <table id="searchObjResults"> - <tr><th>Name</th><th>Phone</th><tr> + <tr><th>Name</th><th>Phone</th></tr> <tr ng-repeat="friend in friends | filter:search"> <td>{{friend.name}}</td> <td>{{friend.phone}}</td> - <tr> + </tr> </table> </doc:source> <doc:scenario> diff --git a/src/ng/filter/orderBy.js b/src/ng/filter/orderBy.js index f9f9c09a..d5a33836 100644 --- a/src/ng/filter/orderBy.js +++ b/src/ng/filter/orderBy.js @@ -52,12 +52,12 @@ (<a href ng-click="predicate = '-name'; reverse=false">^</a>)</th> <th><a href="" ng-click="predicate = 'phone'; reverse=!reverse">Phone Number</a></th> <th><a href="" ng-click="predicate = 'age'; reverse=!reverse">Age</a></th> - <tr> + </tr> <tr ng-repeat="friend in friends | orderBy:predicate:reverse"> <td>{{friend.name}}</td> <td>{{friend.phone}}</td> <td>{{friend.age}}</td> - <tr> + </tr> </table> </div> </doc:source> |
