angular-ui-codemirror

This directive allows you to add CodeMirror to your textarea elements.

CodeMirrortextareadirective

https://angular-ui.github.io/ui-codemirror/