diff --git a/aio/content/guide/glossary.md b/aio/content/guide/glossary.md index 38b9a73207..e2ad149975 100644 --- a/aio/content/guide/glossary.md +++ b/aio/content/guide/glossary.md @@ -939,6 +939,19 @@ A TypeScript-like syntax that Angular evaluates within a [data binding](#data-bi Read about how to write template expressions in the [template expressions](guide/interpolation#template-expressions) section of the [Interpolation](guide/interpolation) guide. +{@a template-reference-variable} + +## template reference variable + +A variable defined in a template that references an instance associated with an element, such as a directive instance, component instance, template as in `TemplateRef`, or DOM element. +After declaring a template reference variable on an element in a template, +you can access values from that variable elsewhere within the same template. +The following example defines a template reference variable named `#phone`. + + + +For more information, see the [Template reference variable](guide/template-reference-variables) guide. + {@a token} ## token diff --git a/aio/content/guide/template-reference-variables.md b/aio/content/guide/template-reference-variables.md index 144bbfcf1e..1f3fd5db28 100644 --- a/aio/content/guide/template-reference-variables.md +++ b/aio/content/guide/template-reference-variables.md @@ -19,6 +19,13 @@ Here, a `