aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/modules/utils.ts
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-ui/src/app/modules/utils.ts')
-rw-r--r--catalog-ui/src/app/modules/utils.ts16
1 files changed, 16 insertions, 0 deletions
diff --git a/catalog-ui/src/app/modules/utils.ts b/catalog-ui/src/app/modules/utils.ts
new file mode 100644
index 0000000000..529857ac39
--- /dev/null
+++ b/catalog-ui/src/app/modules/utils.ts
@@ -0,0 +1,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);
+