.

'; But innerHTML won't process ngMo" /> .

'; But innerHTML won't process ngMo" /> .

'; But innerHTML won't process ngMo"/>

Loading html template with ngModel from the server response

56 views Asked by At

Using angular v10.

In server response,

body.data = '<p> My name is <input type"text" [(ngModel)]="nameModel">. </p>';

But innerHTML won't process ngModel or any other click events. Went through many stack overflow links but couldn't find an appropriate answer to my query. Can someone help me here?

0

There are 0 answers