Create Angular directive for editor

Editor directive and e2e tests.