- made it to contain 2 directives: an editor and a viewer