Fixed ambiguity between template and controller.