Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.


    Declare a Template within a Template using `ng-template` in Angular

    5 - 6

    In this lesson we learn about ng-template, an Angular component that allows us to declare some piece of Angular template. We will explore how to use @ViewChild to grab the template from within our Angular component and how we can then pass it along accordingly.