.query request throws Argument 'fn' is not a function, got object error of the response contains more than one page.
The problem seems to be caused by line
$http(next_config).success(function(next_data) { recursivePaginator(next_data); }).error(error);
which has error=null. An easy fix would be to initialise error with noop (as it is done with success).
.queryrequest throwsArgument 'fn' is not a function, got objecterror of the response contains more than one page.The problem seems to be caused by line
which has
error=null. An easy fix would be to initialiseerrorwithnoop(as it is done withsuccess).