use angular-ui  datepicker and fix saveactivity