Ngstyle Background url angular
<div [ngStyle]="{'background-image': 'url(' + photo + ')'}"></div>
Enthusiastic Emu
<div [ngStyle]="{'background-image': 'url(' + photo + ')'}"></div>