summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/config/sdc-menu.config.ts
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-ui/src/app/ng2/config/sdc-menu.config.ts')
-rw-r--r--catalog-ui/src/app/ng2/config/sdc-menu.config.ts12
1 files changed, 12 insertions, 0 deletions
diff --git a/catalog-ui/src/app/ng2/config/sdc-menu.config.ts b/catalog-ui/src/app/ng2/config/sdc-menu.config.ts
new file mode 100644
index 0000000000..07680b5bc9
--- /dev/null
+++ b/catalog-ui/src/app/ng2/config/sdc-menu.config.ts
@@ -0,0 +1,12 @@
+import {Provider, OpaqueToken} from "@angular/core";
+import {getSdcMenu} from "./sdc-menu.config.factory";
+import {IAppMenu} from "app/models";
+
+export { IAppMenu };
+
+export const SdcMenuToken = new OpaqueToken('SdcMenuToken');
+
+export const SdcMenu:Provider = {
+ provide: SdcMenuToken,
+ useFactory: getSdcMenu
+};