added: a directive with a template
fixed: directives not working correctly