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