html date input default value code example
Example 1: how to set input date to today date on initialization
date: new FormControl((new Date()).toISOString().substring(0, 10)),
Example 2: html input date set default value today
var today = moment().format('YYYY-MM-DD');
$('#datePicker').val(today);