title: How can I pass a FormControl to a function from the template?
body: <p>Let's say I have this:</p>
  
  <pre><code>&lt;input formControlName="someName" (click)="onClick()"&gt;
  </code></pre>
  
  <p>I want my <code>onClick</code> function to be generic and set the value of the corresponding <code>FormControl</code> (the one I clicked).</p>
  
  <p>How can I pass the concerned <code>FormControl</code> as a parameter of <code>onClick</code>?</p>
  
  <p>I thought I could retrieve it from the <code>control</code> property of <a href="https://angular.io/api/forms/FormControlDirective" rel="noreferrer">FormControlDirective</a> or <a href="https://angular.io/api/forms/FormControlName" rel="noreferrer">FormControlName</a> but none of them have an <code>exportAs</code> attribute.</p>