First clone the data prefetch demo app
$ git clone https://github.com/shakya008/data-prefetch-demo.git
follow the commands to start the demo app
$ cd data-prefetch-demo
$ npm install
## Start data server
$ npm run server
## Start angular app
$ npm start
App will start at port 3333. Open in browser http://localhost:3333.
See data loads instantantly on scroll. If scroll is not present, click on more button.