i have to set the today,s date as default in html date type , i am able to do that as this check this working fiddle click here , But its not working when i am changing the ng-model to my.date
<input type="date" ng-model="my.date" value={{my.date}}>
//angular controller
function MyCtrl($scope, $filter) {
$scope.my.date = $filter("date")(Date.now(), 'yyyy-MM-dd');
}
why so ??