autosize directive can update size on focus and click
checkDate function recognize clearly it has timezone string