Pass down page size from the scope

Instead of duplicating it here and in repo-panel-tags.js.
This commit is contained in:
Matt Jibson 2015-11-09 15:17:34 -05:00
parent 5d9999d1f7
commit b0ec7074d0

View file

@ -53,7 +53,7 @@
</span>
<span class="co-filter-box">
<span class="page-controls" total-count="tags.length" current-page="options.page" page-size="50"></span>
<span class="page-controls" total-count="tags.length" current-page="options.page" page-size="tagsPerPage"></span>
<input class="form-control" type="text" ng-model="options.tagFilter" placeholder="Filter Tags...">
</span>
</div>