angular-datepicker
angular-datepicker copied to clipboard
ng-model not working
Hello,
I've got troubles to bind my date-time with my controller
In my html i've got
<input date-time ng-model='date' >
and in my controller i've got a un-initialized $scope.day but used in a method
after selecting my date with the date picker and running my function using $scope.day i can see that this variable is still blank it's like the ng-model is not working with date-time
Do you have any clue or solution ? Thanks
@superdaminou you might need to use double quotes <input date-time ng-model="date" />
not single.