Angular directive for pickadate.js implemented in TypeScript