HTML table with infinite scrolling implemented with AngularJS