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