Extracted external views into directives