Question: what is ng-template angular 6?
Answer: The <ng-template> is an Angular element for rendering HTML. It is never displayed directly. In fact, before rendering the view, Angular replaces the <ng-template> and its contents with a comment. If there is no structural directive and you merely wrap some elements in a <ng-template> , those elements disappear.