Question · Angular course · Module 14: Advanced Patterns
Rendering a template in the DOM
Which ViewContainerRef method do we use to render a template (TemplateRef) in the view?
Answer options
- render(templateRef)
- createEmbeddedView(templateRef)
- appendChild(templateRef)
- insert(templateRef)
You can check the correct answer by solving this task in the CodeWorlds game.