Datepicker working with angularJS