title: send input value on click event
body: <p>i am trying to send the value of an input field, on "onClick" of a button event, what's wrong with that? </p>
  
  <h2>html:</h2>
  
  <pre><code>&lt;input #new_field type="text" /&gt;
  &lt;button (click)="saveNewField(new_field.value)"&gt;Save&lt;/button&gt;
  </code></pre>
  
  <h2>ts</h2>
  
  <pre><code>saveNewField(new_name) {
  // new_name is undefined
  }
  </code></pre>