Currently I\'m setting the image background using inline-style.
>
This code has worked for me.
[style.backgroundImage]="'url('+MEDIA_URL +'/dir/'+data.image+')'"
MEDIA_URL is the base URL of uploaded location.
Angular CLI: 6.1.3 Angular: 6.1.2