allow pagination-id to be retrieved from $scope