export default ngModule => {
  ngModule.config(addWysiwyg);

  function addWysiwyg(formlyConfigProvider) {
    formlyConfigProvider.setType({
      name: 'wysiwyg',
      template: '<textarea ui-tinymce="tinymceOptions" ng-model="model[options.key]"></textarea>',
      wrapper: ['koappLabel', 'koappHasError']
    });
  }

};

export default ngModule => {
  ngModule.config(addCheckboxType);

  function addCheckboxType(formlyConfigProvider) {
    formlyConfigProvider.setType({
      name: 'wysiwyg',
      template: '<textarea ui-tinymce="tinymceOptions" ng-model="model[options.key]"></textarea>',
      wrapper: ['koappLabel', 'koappHasError']
    });
  }

};

Change from addWysiwyg to addCheckboxType
Change from addWysiwyg to addCheckboxType

