added datepicker and directive