Angular Directive for infinite scrolling content