function CkCtrl($scope) { // Load initial data, doesn't matter where this comes from. Could be a service $scope.editorData = '

This is the initial data.

'; var editor = CKEDITOR.instances.editor; // When data changes inside the CKEditor instance, update the scope variable editor.on('instanceReady', function (e) { this.document.on("keyup", function () { $scope.$apply(function () { $scope.editorData = editor.getData(); }); }); }); }