adding in angularJS and testing out the pageing functions