Hi there,
My trouble is that when I print the image url like so
{{ imagesFolder + selectedSampleType.image }}
or like so
src=“{{ imagesFolder + selectedSampleType.image }}”
it works. But I need to use it as a background for the div, which returns “undefined” for me:
[ngStyle]=“{‘background’: ‘url(’ + imagesFolder + selectedSampleType.image + ‘)’}”
What am I doing wrong here?
Thanks,
Olga