fix angular-timer error