Angular — Four practical use cases of NgTemplateOutlet
5 min readApr 25, 2021
--
NgTemplateOutlet
is one of the most overlooked features in Angular. In fact, it is designed to cater some very specific scenario that alternative is hardly found. It can highly improve the code quality when used correctly. Here I have summarized four practical use cases of NgTemplateOutlet
that can fit in many projects.