aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/modules/utils.ts
blob: 529857ac391e0fb09b37c667ee62079d9f97cf99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import {ComponentFactory} from "../utils/component-factory";
import {ComponentInstanceFactory} from "../utils/component-instance-factory";
import {ChangeLifecycleStateHandler} from "../utils/change-lifecycle-state-handler";
import {ModalsHandler} from "../utils/modals-handler";
import {MenuHandler} from "../utils/menu-handler";

let moduleName:string = 'Sdc.Utils';
let serviceModule:ng.IModule = angular.module(moduleName, []);

//Utils
serviceModule.service('ComponentFactory', ComponentFactory);
serviceModule.service('ComponentInstanceFactory', ComponentInstanceFactory);
serviceModule.service('ChangeLifecycleStateHandler', ChangeLifecycleStateHandler);
serviceModule.service('ModalsHandler', ModalsHandler);
serviceModule.service('MenuHandler', MenuHandler);