Adding a maximum number of page results to show with the pagination directive