SyntaxFix
Write A Post
Hire A Developer
Questions
Use this <div [ngStyle]="{'background-image':'url('+imageUrl+')'}"></div> this solved the problem for me.
<div [ngStyle]="{'background-image':'url('+imageUrl+')'}"></div>