create datePicker directive, edit template for editing contacts