Fixed bug on chrome about datetimepicker.
Refactored few templates connected with datetimepicker. Refactored datetimepicker directive.