Create Elements from Template Elements with ngTemplateOutlet in Angular

John Lindquist
InstructorJohn Lindquist
Share this video with your friends

Social Share Links

Send Tweet
Published 7 years ago
Updated 5 years ago

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.

tresmo
tresmo
~ 6 years ago

I think the <template></template> tag should be <ng-template></ng-template> now.

Juan Ortiz
Juan Ortiz
~ 2 years ago

What is the difference between template and ng-template? I see that template exist outside of angular https://developer.mozilla.org/es/docs/Web/HTML/Element/template, so whats functionality adds ng-template?

Markdown supported.
Become a member to join the discussionEnroll Today