My modern Angular course: https://angularstart.com/
In this video, we explore a situation where *ngTemplateOutlet can turn an impossibly messy component into something beautiful. We will discuss the role of ng-template, how we can use *ngTemplateOutlet to display them, and why just using components and inputs isn't viable.
Get weekly content and tips exclusive to my newsletter: https://mobirony.ck.page/4a331b9076
Learn Angular with Ionic: https://ionicstart.com
GOOD source code: https://github.com/joshuamorony/ng-te...
BAD source code: https://github.com/joshuamorony/witho...
Stephen Cooper: • ngTemplateOutlet: The secret to custo...
0:00 Introduction
0:45 What is ng-template?
1:46 What is ngTemplateOutlet?
4:05 API of the custom table
6:21 Using ngTemplateOutlet
10:06 Implementation without ngTemplateOutlet
15:13 Conclusion
#angular
- More tutorials: https://eliteionic.com
- Follow me on Twitter: / joshuamorony