build angularjs datepicker