Hi,
lets say we have a model which has a birthday property:
model.birthday:Date
If we assign now a date we can display it like this:
{{ model.birthday | date }}
But if we try to populate the date input we also need to format the date,
that wont work:
<input type="date" class="form-control"
> [(ng-model)]="model.birthday" >
>
How would you solve this?
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.