Updates to file structure - editor now directive

Made it more "angular"