Is it possible to dynamically render HTML using a string variable in Angular4?
sample.component.ts
let stringTemplate = "<div><p>I should be rendered as a HTML<br></p></div>";
The contents of the sample.component.html should be displayed based on the elements within the variable stringTemplate
It's important to note that the content of stringTemplate is not static and will be fetched from the server.