title: Angular 2 Material Datepicker Value
body: <p>I want to use <a href="https://material.angular.io/components/component/datepicker" rel="noreferrer">Angular Material Datepicker</a> to get a date into my page.
  I use this code, but cannot figure out how to access the selected value correctly.</p>
  <pre><code>&lt;md-input-container&gt;
    &lt;input mdInput [mdDatepicker]=&quot;myDatepicker&quot;&gt;
    &lt;button mdSuffix [mdDatepickerToggle]=&quot;myDatepicker&quot;&gt;&lt;/button&gt;
  &lt;/md-input-container&gt;
  &lt;md-datepicker #myDatepicker&gt;&lt;/md-datepicker&gt;
  </code></pre>
  <p>I tried the <code>[value]</code> field in input but how can I get the date to send it to my backend?
  Thanks.</p>