title: How to format the date in HTML in dd-MM-YYYY format using ng-model
body: <p>I would like to format the date in HTML as dd-mm-yyyy format in ng-model but the result which I am getting is in the form of mm-dd-yyyy.I have tried using interpolator where it worked fine and I would like to know to get the output in a dd-mm-yyyy format in HTML itself using ng-model.</p>
  
  <pre><code>&lt;label class="item item-input"&gt;
    &lt;input placeholder="Date" type="date" date="dd-MM-yyyy" ng-model="vm.advance.date"&gt;&lt;/input&gt;
  &lt;/label&gt;
  </code></pre>