Adds infinite scroll for AngularJS