Fixing Inline Editor for tag-style directives

See the commit messages for the actual fixes. It has been tested with:

- `<dc-logo></dc-logo>`
- `<div dc-logo></div>`
- `<div ng-controller="MyController"></div>`

Secondary, fixed CodeMirror inclusion
I think this might be superfluous because the user may have intended to open a non-angular editor.