aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMisko Hevery2013-04-02 09:02:02 -0700
committerIgor Minar2013-04-04 09:46:46 -0700
commited81d19ce9b1ce8b8d2a6af3bca75fcc5ca2b950 (patch)
tree728c0f986f5baa27615ece9609347e0c9e8eabf8
parent3497bf2d82447b2ba85b771c9444e87a19668f03 (diff)
downloadangular.js-ed81d19ce9b1ce8b8d2a6af3bca75fcc5ca2b950.tar.bz2
chore(docs): correct few unclosed elements
Conflicts: src/ng/filter/filter.js
-rw-r--r--src/ng/filter/filter.js8
-rw-r--r--src/ng/filter/orderBy.js4
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>