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 95ccaf78..9f12abd1 100644 --- a/src/ng/filter/filter.js +++ b/src/ng/filter/filter.js @@ -60,11 +60,11 @@ 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> @@ -72,11 +72,11 @@ Phone only <input ng-model="search.phone"å><br> Equality <input type="checkbox" ng-model="strict"><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:strict"> <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 88784c92..d1ed3161 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> |
