In one of my angular2 application, I want to show the innerHTML of the model in the input field which has a model is attached to it.
<input type="text" [(ngModel)]="studentCategory" [innerHTML]="studentCategory"/>
the value of studentCategory is coming from data base which has some '& #174;' values. which is directly showing up in the text boxes, rather it should show a register symbol
i can easily show this in the following way
<p [innerHTML]="studentCategory"/></p>
but not in input which has model attach to it.
Thanks in advance.