See console for output.
btn refers to the button element.
{{ submitMessage }}
JSON: {{ itemForm.form.value | json }}
This section demonstrates in which situations you can access local template reference variables (#ref
).
Here's the desugared syntax:
Here's the desugared syntax:
ng-template
ng-template
, the variable refers to a TemplateRef
instance, which represents the template.