Added templates inside directives