title: Setting minimum Date on Angular validation
body: <p>Hello guys I'm trying to make a minimum Date value in a Form. I'm using angular and for some reason that doesn't work I'll post my code:</p>
  
  <p>Component:</p>
  
  <pre><code>minDate: Date;
  
    constructor(private auth: AuthService, private dataService: DataService, private fb: FormBuilder, private router: Router, private matService: MatService) {
      this.dataService.getCompanyCouponResult(this.dataService.CouponIdForEdit).subscribe(res =&gt; {
        this.coupon = res;
        this.minDate = this.coupon.startDate;
        console.log(this.minDate);
      })
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>edit-coupon.component.ts:28 2014-02-13T22:00:00.000+0000
  </code></pre>
  
  <p>html:</p>
  
  <pre><code>  New end date:&lt;/p&gt;
      &lt;input type="date" formControlName="couponEndDate" min="{{minDate}}" &gt;
  </code></pre>
  
  <p>now I do get the date, and I'm able to see it in console, but for some reason that doesn't apply on the "min" of couponEndDate. any solution?</p>