Date & timepicker directive implemented in plain AngularJS (and Moment.js)