changed controls to use angular-ui again and implemented date and time in it