【发布时间】:2017-03-28 02:27:07
【问题描述】:
我有下表:
<div class="container-fluid">
<table class="table table-hover">
<thead>
<tr>
<th>Action Date</th>
<th>Action Taken</th>
<th>Problem</th>
<th>Status</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="contact in customer.contactHistory">
<td>{{contact.actionDate}}</td>
<td>{{contact.actionTaken}}</td>
<td>{{contact.problem}}</td>
<td>{{contact.status}}</td>
</tr>
</tbody>
</table>
</div>
如何在其中添加分页?我有一个单独的 js 控制器文件。我想添加分页,这样页面加载时只有 10 行可见。
【问题讨论】:
标签: javascript html angularjs pagination