i have following form input which i'm trying to fill by scope data:
<input type="date" name="editCallForm.date" ng-model="editCallForm.date">
I tried a few combination of date formatting, for example:
moment($rootScope.formData.date).format('DD/mm/YYYY');
But without luck (for time input is it working without problems).
What is the right format for this type of the input?
Thanks for any help.