Angular NgTemplateOutlet Directive In Depth
Angular NgTemplateOutlet directive is a structural directive used for dynamically instantiating a template by its template reference passing a context object.
How to render dynamic template.
How to reduce duplicate code and reuse existing code using ngTemplateOutlet