An AngularJS implementation of scrollspy