Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 1 | import {ComponentFactory} from "../utils/component-factory"; |
| 2 | import {ComponentInstanceFactory} from "../utils/component-instance-factory"; |
| 3 | import {ChangeLifecycleStateHandler} from "../utils/change-lifecycle-state-handler"; |
| 4 | import {ModalsHandler} from "../utils/modals-handler"; |
| 5 | import {MenuHandler} from "../utils/menu-handler"; |
| 6 | |
| 7 | let moduleName:string = 'Sdc.Utils'; |
| 8 | let serviceModule:ng.IModule = angular.module(moduleName, []); |
| 9 | |
| 10 | //Utils |
| 11 | serviceModule.service('ComponentFactory', ComponentFactory); |
| 12 | serviceModule.service('ComponentInstanceFactory', ComponentInstanceFactory); |
| 13 | serviceModule.service('ChangeLifecycleStateHandler', ChangeLifecycleStateHandler); |
| 14 | serviceModule.service('ModalsHandler', ModalsHandler); |
| 15 | serviceModule.service('MenuHandler', MenuHandler); |
| 16 | |