Go ProSign in

This Lesson is for Members

Subscribe today and get access to all lessons! Plus direct HD download for offline use, enhances transcripts, member comment forums, and iTunes "podcast" RSS feed. Level up your skills now!

Unlock This Lesson

Already subscribed? Sign In

Create Dynamic Components in Angular

Create Dynamic Components in Angular


    Pass Data to a Dynamic ng-template using ngTemplateOutletContext in Angular

    Juri StrumpflohnerJuri Strumpflohner

    We’ve seen how to pass along a reference to a template to an Angular component and how to render it. Templates without actual dynamic data are boring however. Therefore in this lesson we learn how to leverage ngTemplateOutletContext to pass in data to an ng-template.

    You must be a Member to view code