Good, I am doing a project with AngularJS 1.6 and I would like to save in a variable of the Scope on a specific day and that when it is visible, the day is marked in the calendar without having to do anything. I assumed that using the scope variable in the ng-model would already be there, but the fact is that it is not doing anything to me.
The code is very basic:
<datepicker date-format="dd/MM/yyyy" date-week-start-day="1" ng-model="dt"> <input ng-show = "false" name="day" type="text" class = "smallInputCrear" ng-model="dt"> </datepicker>
and in the Controller:
$scope.dt = new Date();
I would be very grateful if someone could help me out. Thanks.