Got timer directive working