In Component.ts
this.innerHtmlValueData = "<....>{{title}}<...>"
In HTML
<...[innerHTML]="innerHtmlValueData"></...>
I have also tried with sanitizer.bypassSecurityTrustHtml
it is still not working. It doesn't show the title value,
in HTML
<div [innerHTML]="innerHtmlValueData"></div>
In Component.ts
title = "ERP"
innerHtmlValueData = "<htmltag>"+this.title+"</htmltag>"
or
innerHtmlValueData:string = `<span class="badge badge-secondary">${this.title}</span>`
try this
{{title}
" Not only a variable binding we need the support of all the things in angular like angular property binding,style rendering etc. – durai Sep 14 '18 at 06:24