i try to inject html content from a class but instead the result i get is a string instead of the html element, what am i doing wrong?
angular version : angular-cli: 1.0.0-beta.20-4
html content:
<div [ngStyle]=getStyles()>{{getData()}}</div>
getData() return value:
"<span style='color:#5999B6'>this.data</span>"
this.data is a string
getData()function looks like? what are you actually returning?