9 lines
179 B
JavaScript
9 lines
179 B
JavaScript
/* @ngInject */
|
|
export default function CodeEditorController($scope) {
|
|
this.handleChange = (value) => {
|
|
$scope.$evalAsync(() => {
|
|
this.onChange(value);
|
|
});
|
|
};
|
|
}
|