Brian Mackey

Results 4 comments of Brian Mackey

This is happening because `paginationService.instances[instanceId].collectionLength` returns '37' as can be seen by the return value of `paginationService.getCollectionLength(instanceId).` `collectionLength` should have been reset to 0. I think $watch should be updating...

As a workaround I hide the pagination control when there are 0/null results with `ng-if`. ``

After more research I see that `dirPaginateDirective` does not fire when I show/hide my data by toggling `ng-if=`. The app.Controller reloads, creating new state, but the said directive does not...

I will work on a plunker reproduction of the issue. This page only has 1 dir-pagination, however there are at least 2 others used in the site. I see three...