removing rootScope injection that is not needed
Optimizing date and time directives