I've looked at the examples of using ngInfiniteScroll over at the demo site (http://binarymuse.github.io/ngInfiniteScroll/demos.html) but they all seem to be using the lower level $http service in order to build their scroll. The issue I have is that I already have all my resources built in factories using ngResource because I'm passing in other parameters in other controllers around my app.
I'd like to know if its still possible to use ngInfiniteScroll using $resource instead of $http? I've yet to find one example so far but would like to just request a new page to the REST API like i have down below. Any code examples or ideas how this is done?
.factory('allUpcomingFactory', function($resource) {
return $resource('http://www.test.com/api/v1/channel_listings.json?page=:pageID&channel_id=:channelID',
{channelID: '@channelID', pageID: '@pageID'},
{'query': {method:'GET', isArray:false}});
})