mocks for $templateCache anti corruption layer as we can't mock $templateCache directly in unit tests