1
私のリストにフィルタの後に行数を入れたいと思います。 dir-paginateを使用すると、結果は常に5(== itemsPerPage)またはi> 5行です。 誰かが私のdir-paginateのすべてのページのこの行数をどのように得ることができるか知っていますか?Dir-paginateフィルタ後のGET行数 - angularJs
<div>count filtered : ({{ filtered.length }})</div>
<input type="text" class=" text-input form-control" ng-model="search.name" placeholder="name">
<div class="col-md-6">
<table class="table">
<thead>
<tr>
<th></th>
<th>Title</th>
</tr>
</thead>
<tbody>
<tr dir-paginate="person in persons | filter:_this.search | itemsPerPage:5 as filtered" pagination-id="excluded">
<td>{{ person.name }}</td>
</tr>
</tbody>
</table>
</div>
<dir-pagination-controls max-size="5"
direction-links="true"
boundary-links="true" class="pagination">
</dir-pagination-controls>
あなたはこれをしなければならないおかげ