event_editor.ts 482 B

12345678910111213141516171819202122
  1. ///<reference path="../../headers/common.d.ts" />
  2. import _ from 'lodash';
  3. import coreModule from 'app/core/core_module';
  4. export class EventEditorCtrl {
  5. /** @ngInject */
  6. constructor() {
  7. }
  8. }
  9. export function eventEditor() {
  10. return {
  11. restrict: 'E',
  12. controller: EventEditorCtrl,
  13. bindToController: true,
  14. controllerAs: 'ctrl',
  15. templateUrl: 'public/app/features/dashboard/partials/event_editor.html',
  16. };
  17. }
  18. coreModule.directive('eventEditor', eventEditor);