Pickadate,js porting in Angular js