Added typings for $templateRequest service