how do I display html inside an angular interpolation or binding edit button Edit

Murugan Andezuthu Dharmaratnam | calendar 25 November 2020 | 1625

It is not possible to bind data returned from the server using binding [(ngModel)]="mydata" or using interpolation {{mydata}}. In my application, I wanted to bind the data returned from an api to the view.


The only solution is to to use innerHTML to bind the data

<p [innerhtml]="mydata"></p>