I have a requirement, to add infinite scroll to my ui-grid component. Following this tutorial I have successfully implemented my scrolling grid, but when it comes to performance, the results do not suit my requirements, so I need to add trailing to this implementation, meaning I need to load more data the I display on the grid.
e.g. call the backend for 100 elements and display in one scroll only 20, in this way I limit the number of calls to the backend.
So how is the best way of doing this using this component?