[ALOY-802] Fixed escaping of __controllerPath for template