title: Form input value in an ngFor generated table
body: <p>I want to be able to submit a number for any player in the table.</p>
  
  <p>I am generating a table with *ngFor in Angular2.<br>
  For each element in that table I add a form with an input field.</p>
  
  <p>How can I submit and include the input value from those forms?</p>
  
  <pre><code>&lt;table&gt;
      &lt;tr&gt;
          &lt;th&gt;Name&lt;/th&gt;
          &lt;th&gt;Value&lt;/th&gt;
          &lt;th&gt;Bid&lt;/th&gt;
      &lt;/tr&gt;
      &lt;tr *ngFor="#player of players"&gt;
          &lt;td&gt;{{player.name}}&lt;/td&gt;
          &lt;td&gt;{{player.value | currency:'GBP':true:'4.0-0'}}&lt;/td&gt;
          &lt;td&gt;
              &lt;form role="form" (submit)="onBid($event, player)"&gt;
                  &lt;input type="number" min={{player.value}} value={{player.value}}&gt;
                  &lt;button type="submit"&gt;Bid&lt;/button&gt;
              &lt;/form&gt;
          &lt;/td&gt;
      &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>I haven't been able to submit and retrieve the value from the input box.<br>
  Doing it for a static form where I can define <code>id="inputname"</code> and <code>#inputname</code> and then add <code>inputname.value</code> to the <code>(submit)="onBid(inputname.value)"</code> works.</p>
  
  <p>I've tried <code>adding id={{player.id}}</code> and <code>#{{player.id}}</code> but don't know how to add it to <code>onBid()</code>.</p>