stop infinite scroll in angular code example Example: angular infinite scroll npm install ngx-infinite-scroll --save