fix angular clock fun