Let's say I have a method generateHTML(someAttributes: string) : string.
Calling it with style="color:#fff" would return:
<div style="color:#fff">Test</div>
It works because I'm calling bypassSecurityTrustHtml() on the resulting string.
Now the problem I have is this one: the method now returns something like
<div>
    <p>Some text</p>
    <some-selector [stuff]="test"></some-selector>
    <p>Other text</p>
</div>
some-selector is not interpreted by Angular.
I've been trying to use a ViewRef but it doesn't working in my case because I need to generate a bunch of stuff in one go and the ordering is important (ViewRef adds the component at the end).
Hopefully I'm missing something.
Thank you all for reading!
