Update structure based on feedback
Add karma preprocessor for testing directives with external templates