Add endTime attribute to timer directive.