chore(docs): correct few unclosed elements

Conflicts:

	src/ng/filter/filter.js
This commit is contained in:
Misko Hevery 2013-04-02 09:02:02 -07:00 committed by Igor Minar
parent 3497bf2d82
commit ed81d19ce9
2 changed files with 6 additions and 6 deletions

View file

@ -43,22 +43,22 @@
Search: <input ng-model="searchText"> Search: <input ng-model="searchText">
<table id="searchTextResults"> <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"> <tr ng-repeat="friend in friends | filter:searchText">
<td>{{friend.name}}</td> <td>{{friend.name}}</td>
<td>{{friend.phone}}</td> <td>{{friend.phone}}</td>
<tr> </tr>
</table> </table>
<hr> <hr>
Any: <input ng-model="search.$"> <br> Any: <input ng-model="search.$"> <br>
Name only <input ng-model="search.name"><br> Name only <input ng-model="search.name"><br>
Phone only <input ng-model="search.phone"å><br> Phone only <input ng-model="search.phone"å><br>
<table id="searchObjResults"> <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"> <tr ng-repeat="friend in friends | filter:search">
<td>{{friend.name}}</td> <td>{{friend.name}}</td>
<td>{{friend.phone}}</td> <td>{{friend.phone}}</td>
<tr> </tr>
</table> </table>
</doc:source> </doc:source>
<doc:scenario> <doc:scenario>

View file

@ -52,12 +52,12 @@
(<a href ng-click="predicate = '-name'; reverse=false">^</a>)</th> (<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 = 'phone'; reverse=!reverse">Phone Number</a></th>
<th><a href="" ng-click="predicate = 'age'; reverse=!reverse">Age</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"> <tr ng-repeat="friend in friends | orderBy:predicate:reverse">
<td>{{friend.name}}</td> <td>{{friend.name}}</td>
<td>{{friend.phone}}</td> <td>{{friend.phone}}</td>
<td>{{friend.age}}</td> <td>{{friend.age}}</td>
<tr> </tr>
</table> </table>
</div> </div>
</doc:source> </doc:source>