title: md-datepicker input format
body: <p>When using the md-datepicker directive in angular material, the date format doesn't seem to work for direct input.</p>
  
  <p>If I select a date in the calendar, it will be displayed as specified (in my case DD-MM-YYYY) but if I try to change the input manually, my entry is analysed as MM-DD-YYYY.</p>
  
  <p>So far, my datepicker is set using this code from <a href="https://stackoverflow.com/questions/32566416/change-format-of-md-datepicker-in-angular-material">this question</a> </p>
  
  <pre><code>angular.module('MyApp').config(function($mdDateLocaleProvider) {
    $mdDateLocaleProvider.formatDate = function(date) {
      return date ? moment(date).format('DD-MM-YYYY') : '';
    };
  });
  </code></pre>
  
  <p><a href="http://codepen.io/anon/pen/bVjVEp" rel="nofollow noreferrer">Here</a> is a codepen to see the problem in action.</p>
  
  <p>Is there a way to setup the entry format?  </p>