angular-datepicker
angular-datepicker copied to clipboard
model.getFullYear is not a function
I am getting model.getFullYear is not a function error when I set .
js: $scope.date= moment();
Html: < input date-time format="yyyy-MM-dd" min-view="date" name="date" value="" class="form-control" ng-model="date" >