diff --git a/aio/content/guide/template-reference-variables.en.md b/aio/content/guide/template-reference-variables.en.md new file mode 100644 index 0000000000000..1f3fd5db2844d --- /dev/null +++ b/aio/content/guide/template-reference-variables.en.md @@ -0,0 +1,69 @@ +# Template reference variables (`#var`) + +A **template reference variable** is often a reference to a DOM element within a template. +It can also refer to a directive (which contains a component), an element, [TemplateRef](api/core/TemplateRef), or a web component. + +
+ +See the for a working example containing the code snippets in this guide. + +
+ +Use the hash symbol (#) to declare a reference variable. +The following reference variable, `#phone`, declares a `phone` variable on an `` element. + + + +You can refer to a template reference variable anywhere in the component's template. +Here, a `