Skip to main content

Queries, projection and dynamic components

Learn Queries, projection and dynamic components (Module 4 · Components, Angular) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

Template reference variables • A template reference variable is a name tag you attach with #name . It refers to the DOM element (or the component/directive instance) inside the same template, so you can use it without writing TypeScript.

More lessons in Module 4 · Components