title: How to format two dates with different format?
body: <p>I use <code>md-datepicker</code> and I want to format <code>start_date</code> with word "from"
  and <code>end_date</code> with word "to".
  I tried to use:</p>
  
  <pre><code>$mdDateLocale.formatDate = function (date) {
      if (date) {
          var formatedDate = moment(date).format('[to] DD-MM-YYYY');
          return formatedDate;
      } else {
          return ' ';
      }
  };
  </code></pre>
  
  <p>and</p>
  
  <pre><code>$mdDateLocale.formatDate = function (date) {
      if (date) {
          var formatedDate = moment(date).format('[from] DD-MM-YYYY');
          return formatedDate;
      } else {
          return ' ';
      }
  };
  </code></pre>
  
  <p>But it set "from" to all dates.</p>