add dateformat directive for form inputs bound via ngModel