title: Angular5: how to highlight certain dates in mat-datepicker?
body: <p>i am trying to pre-select some dates in mat-datepicker (angular 5) the problem here that i can't use [dateClass] directive because its an angular 7 feature</p>
  
  <pre><code>&lt;mat-form-field&gt;
  &lt;input matInput [min]="dispoStartDate" [max]="dispoEndDate" [matDatepicker]="picker" &gt;
  &lt;mat-datepicker-toggle matSuffix [for]="picker"&gt;&lt;/mat-datepicker-toggle&gt;
   &lt;mat-datepicker [dateClass]="dateClass" #picker startView="year" &gt;
  &lt;/mat-datepicker&gt;/mat-form-field&gt;
  </code></pre>