I need to add a background image in a span tag. The name of image is coming from Database. The code I had written is :
<span *ngIf="isSa === false" style ="background:url(assets/images/profile/{{emp_image}} ) no-repeat center"> </span>
The variable 'emp_image' is having a value '1.png' and it is getting if i am printing it outside the style.