fix actions overflowing and add angular codemirror directive