import { IModule } from 'angular';
import { MegamenuComponent } from './megamenu.component';
import { Magento2EcmsBlockApiService } from './magento2.ecms.block.api.service';

/**
 * Module combining all parts of the <megamenu-component>
 */
export const MegamenuModule: IModule = angular
  .module('MegamenuModule', [])
  .component('beyerMegamenu', MegamenuComponent)
  .service('magento2EcmsBlockApiService', Magento2EcmsBlockApiService)
  .value('API_URL', '//')
  .value('API_ECMS_BLOCK_ENDPOINT', 'rest/V1/ecms/block')
;
