removed search-state from paging directive

using $routeParams, $scope, and $location instead