Infinite scroll directive for Angular.js