A basic implementation of infinite scroll as an Angular Directive