node server side pagination and infinite scroll with restangular and socket.io