title: angular2 ngbdatepicker how to format date in inputfield
body: <p>I am using <code>ng-bootstrap</code> <a href="https://ng-bootstrap.github.io/#/components/datepicker" rel="nofollow noreferrer">Datepicker</a>. I wants to format a date displayed in the input field which is model. I looked at API and haven't found any example other then <code>NgbDateParserFormatter</code>
  without explaining much :(</p>
  
  <p>In Angular 1, it was as simple as adding an attribute <code>format="MM/dd/yyyy"</code>.
  Can anyone help?</p>