Is it possible to pipe render a dynamic component (Angular2/4)?

I would like to pass a dynamic component parameter "colors[]", then render, and the result (the generated html template) return in the variable "html"

import { Pipe, PipeTransform } from '@angular/core';

@Pipe({
 name: 'tag'
})
export class implements TagPipe PipeTransform {
 constructor(private sanitized: DomSanitizer) {}
 transform(value?: string): any {

 const html = `<tags [colors]="[${value}]"></tags>`;

 return html;
}
June 10th 19 at 16:17
1 answer
June 10th 19 at 16:19
Solution
Here is a short solution to the question (helped on another forum), probably useful to someone: https://plnkr.co/edit/oQ9zDzKFDQWakIB4Ithb?p=preview

Find more questions by tags Angular