angular lazy image load code example
Example 1: angular lazy loading images
npm install ng-lazyload-image --save
Example 2: ng-lazyload-image
<img [defaultImage]="'https://www.placecage.com/1000/1000'" [lazyLoad]="'https://hd.unsplash.com/photo-1431400445088-1750c997c6b5'" />