ngstyle angular 8 code example
Example 1: ngStyle
[ngStyle]="{'background-image': 'url(' + data.headerImage + ')'}"
Example 2: ngstyle
content_copy
...
[ngStyle]="{'background-image': 'url(' + data.headerImage + ')'}"
content_copy
...