BumbleBee
BumbleBee

Reputation: 10789

dirPagination doesn't show the data (Angular JS pagination)

I am using dirPagination to paginate data in a table. The very first time I don't see any data. I don't see any errors either.

See my code in action: plunker

[Plunker][1]http://plnkr.co/edit/3rZoKhnIEnqjUOJNT0iI?p=preview

Upvotes: 1

Views: 80

Answers (1)

TomSlick
TomSlick

Reputation: 735

You need to set $scope.currentPage = 1;

Fixed plunker

Upvotes: 1

Related Questions