In this example, I see the explanation but im still not sure i understand why in this case the #name template variable is set to "ngModel". What if there were 2 or 3 other input fields with template variables, would you also set their value to "ngModel"?
https://angular.io/guide/forms#show-and-hide-validation-error-messages
<label for="name">Name</label>
<input type="text" class="form-control" id="name"
required
[(ngModel)]="model.name" name="name"
#name="ngModel">
<div [hidden]="name.valid || name.pristine"
class="alert alert-danger">
Name is required
</div>
exportAs is a name under which the component instance is exported in a template
– yurzui