changing pager to show only 6 schedules
optimizing class assignment on ng-class