Featured

How to use ngTemplateOutlet and ngTemplateOutletContext | Using ng-template within ngFor directive



Published
About this Video:
This video talks about using multiple templates within an ngFor directive. So generally we put all the checks within the same ngFor directive and then clutter the whole template. This becomes an issue later while debugging and if you want to edit one of the views out of the multiple views. So this is where ngTemplateOutlet and ngTemplateOutletContext comes into the picture.

Watch this video if you all want to know the commonly asked interview questions in Angular and have been searching for it all this while. This is the ninth episode of a multi-part series where in I will be going over a plethora of topics related to Angular. Stay Tuned! Do Like, Share and Subscribe if you enjoyed the content and found it helpful for your projects. Cheers!

#angular #tutorials #interview

Download the source code here:
https://github.com/pcr1393/custom-template-outlet

Subscribe for more videos:
https://www.youtube.com/channel/UCkRE94ToJj2jhlo3seDThaw/featured

If you want to crack Angular Interviews, do watch:
https://www.youtube.com/watch?v=CnE1npOtmy8&list=PLaUSGD1fosVKmB6oSNC8WeVy5LR7n84GF

Video Chapters
-----
Intro: (0:00)
Brief about the current project: (0:20)
Creating the templates for different views: (2:44)
Significance of ngTemplateOutlet: (3:43)
Significance of ngTemplateOutletContext: (4:00)
Conclusion: (5:02)

Let’s connect:
• YouTube
Category
Job
Be the first to comment