I'm programming with Angular 1.5.5 and I'm using Materialize CSS 0.97.6.
On my controller, I have $scope.myDate = '2017-01-13T02:06:40'
In the HTML file, I have <input type='date' class='form-control datepicker' value="{{(myDate | date: 'dd/MM/yyyy')}}">
But the input field doesn't show anything.
If I put <input type='date' class='form-control datepicker' value="13/01/2017">
it works.
I did it to check the myDate variable <div ng-bind="myDate | date : 'dd/MM/yyyy'"></div>
and it works too.
So, anyone can explain why the value is not being loaded to input when I use the variable?