title: NgbDatepicker show months and years only
body: <p>I am developing an app using Bootstrap 4 components, powered by Angular 4, and i have trouble configuring the NgbDatepicker directive to show only the months and years, not the days - like for credit cards.</p>
  
  <p>I want to select only the month and year, i don't care about choosing a specific day. </p>
  
  <p>My input looks like this:</p>
  
  <pre>
  
  &lt;input id=&quot;demodate&quot; type=&quot;text&quot; name=&quot;demodate&quot; ngbDatepicker
  #startDateDp=&quot;ngbDatepicker&quot; [(ngModel)]=&quot;modelDate&quot;/&gt;
  
  </pre>
  
  <p>I tried all the properties listed for the directive listed here </p>
  
  <p><a href="https://ng-bootstrap.github.io/#/components/datepicker" rel="noreferrer">https://ng-bootstrap.github.io/#/components/datepicker</a> </p>
  
  <p>but none of  them seem to help me. 
  Any ideas?</p>