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