Lazy loading in koGrid

Below is the code for implementing Lazy loading in koGrid. Here is a working plunker. You can download the code from here.