In Component.ts file I have a variable textValue = "Hello World!"; and subTextValue = "ll". and in component.html file I try to set particular character of string in "Hello World!" ----> "Hello World!" to bold using the below line of code.
<span>{{textVal.replace(textValue , '<b>' + subTextValue + '</b>')}}</span>
But, I get output as {{textVal.replace(textValue , '' + subTextValue + '')}}
Can someone help me with this.