add background image in angular for all pages code example Example: angular background image [style.backgroundImage]="'url('+ imagSource +')'"