There is directive to that called rsTime.
Check demo at Plunker .
Below are different formates of time:
M/d/y - 11/7/2016
HH:mm:ss - 16:02:31 (24hrs formate)
hh:mm:ss TT - 04:03:10 PM
ffffd MMM d h:mm TT - Mon Nov 7 at 4:04 PM
For documentation visit Github