fix date pickers in angular 1.3