Have a way to set value on the datetimepicker fragment (UICommons)

Hi all,

We use the datepicker fragment from uicommons for all our dates.

However, I’m not able to find a way to bind dates defined in angular’s scope to the datepicker. It would be nice to add an ‘ng-model’ to bind a date defined in angular’s scope. Something like the ‘defaultDate’ config for ‘angular’ dates.

If it makes sense to have the feature, I have created an issue: https://issues.openmrs.org/browse/UICM-73 and a PR https://github.com/openmrs/openmrs-module-uicommons/pull/31