passing params and not just the page number when $scope.$emit()