Angular 6 implementation

Guys I am using AngularREST API . I want to retrive the contents from the plone and put it into the CSS .

I have image inserted into the page in "" I want to place it on teh css tag "background:url(' ')"


I guess the following should work:

[style.background-image]="'url(\'' + + '\')'"

core.js:7090 WARNING: sanitizing unsafe URL value '' (see

This error comes in angular