The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Create Elements from Template Elements with ngTemplateOutlet in Angular

Create Elements from Template Elements with ngTemplateOutlet in Angular

2:38
`ngTemplateOutlet` is a directive that simplifies creating elements from template elements. This allows you to create simple, reusable templates then generate elements with custom data whenever you need them.
Watch this lesson now
Avatar
egghead.io

ngTemplateOutlet is a directive that simplifies creating elements from template elements. This allows you to create simple, reusable templates then generate elements with custom data whenever you need them.

Avatar
Yannick

Hello,
is there a way to create and use dynamic templates from a string, like in this snippet (but in a simpler way...) :
http://plnkr.co/edit/L2LsXGWAOZHOopuddQX4?p=info
Thanks

In reply to egghead.io
HEY, QUICK QUESTION!
Joel's Head
Why are we asking?