trust as html angular 6 code example Example: angular raw <div [innerHTML]="myField"></div> <div innerHTML="{{myField}}"></div>