<textarea name="{{ options.key }}" class="mgz__control-code" ui-codemirror="{ onLoad : codemirrorLoaded }" ui-codemirror-opts="{{ to.editorOptions}}" ng-model="model[options.key]" ui-refresh='refreshEditor' id="{{::id}}"></textarea>