function codeEditorCtrl($scope) {
    $scope.editorOptions = {
        lineNumbers: true,
        matchBrackets: true,
        styleActiveLine: true,
        theme:"ambiance"
    };

    $scope.editorOptions2 = {
        lineNumbers: true,
        matchBrackets: true,
        styleActiveLine: true
    };

}
/**
 * codeEditorCtrl - Controller for code editor - Code Mirror
 */
Controller for code editor - Code Mirror
Controller for code editor - Code Mirror
function codeEditorCtrl($scope) {
    $scope.editorOptions = {
        lineNumbers: true,
        matchBrackets: true,
        styleActiveLine: true,
        theme:"ambiance"
    };
    $scope.editorOptions2 = {
        lineNumbers: true,
        matchBrackets: true,
        styleActiveLine: true
    };
}
function codeEditorCtrl ( $scope ) { $scope . editorOptions = { lineNumbers : true , matchBrackets : true , styleActiveLine : true , theme : "ambiance" } ; $scope . editorOptions2 = { lineNumbers : true , matchBrackets : true , styleActiveLine : true } ; }
codeEditorCtrl - Controller for code editor - Code Mirror
codeEditorCtrl - Controller for code editor - Code Mirror