Hack to make the datepicker update ng model