set background image in angular 8 code example Example: angular background image [style.backgroundImage]="'url('+ imagSource +')'"