AngularJS directive which provides date picker functionality