Add simple sorting and pagination features with angularjs