angularize the time format