I tried making a slider range with value date in Angular, when the code ran for the first time, it showed the range that I set in my code, but when I tried sliding it thevalue is always '01-01-1970' As seen in this picture.

How do I get the value range from the declared min and max date. This is the code I have now:
thank you :)
.html
<div class="group">
<p class="header">Created date range</p>
<ul class="filter-list">
<li>Range date :{{min | date: 'dd/MM/yyyy'}} - {{rangeValue | date: 'dd/MM/yyyy'}}</li>
</ul>
<ion-item>
<ion-range [(ngModel)]="rangeValue" min="min" max="max" >
</ion-range>
</ion-item>
</div>
<hr>
.ts
public rangeValue:Date;
public min: Date ;
public max: Date ;
public today: Date = new Date();
public currentYear: number = this.today.getFullYear()-2;
public currentMonth: number = this.today.getMonth();
public currentDay: number = this.today.getDate();
constructor(public navCtrl: NavController,
public Platform : Platform,
) {
this.Platform.ready().then(() =>{
this.rangeValue = new Date(new Date().setDate(14));
this.min = new Date(this.currentYear, this.currentMonth, 1);
this.max = new Date(this.currentYear, this.currentMonth, 31);
})
}
