Now support the locale set from angularjs - Fixed many bugs - Hide datepicker when clicking outside