-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Description
I have configured the directive as follows:
<div class="col-lg-12 text-center" ng-init="page = 0; perPage = 5;">
<house-list houses="houses"></house-list>
<bgf-pagination collection="houses" page="page" per-page="perPage" client-limit="perPage"
url="'/api/houses/'"
template-url="/views/pagination.houses.html"></bgf-pagination>
</div>
The directive loads the "/api/houses/" URL twice and both cases the same data are returned. Even in your demo the "words" API is called 4 times!
Demo: http://begriffs.com/angular-paginate-anything/?page=0&perPage=5
Metadata
Metadata
Assignees
Labels
No labels