angular 8 html .png image code example
Example 1: how to render images in angulae
use the url as below
<img src="assets/img.jpg" alt="">
Example 2: import images angular
export class sample Component implements OnInit {
imageSrc = 'assets/images/iphone.png'
imageAlt = 'iPhone'