Angular directive provides painless infinite scrolling