injected tempService into controller