6fee7005e4624a7096de5301c93934b8c98c5e53
[ccsdk/apps.git] / sdnr / wireless-transport / code-Carbon-SR1 / ux / mwtnInventory / mwtnInventory-module / src / main / resources / mwtnInventory / mwtnInventory.module.ts
1 // import * as angular from 'angularAMD';
2 declare var angular: angular.IAngularStatic; 
3
4 export const mwtnInventory = angular.module('app.mwtnInventory', ['app.core']);
5
6 mwtnInventory.config(function ($stateProvider, $compileProvider, $controllerProvider, $provide, NavHelperProvider, $httpProvider, $translateProvider, $translatePartialLoaderProvider) {
7
8   //$translatePartialLoaderProvider.addPart('app/mwtnInventory/locale/locale');
9
10   NavHelperProvider.addControllerUrl('app/mwtnInventory/mwtnInventory.controller');
11   NavHelperProvider.addToMenu('mwtnInventory', {
12     "link": "#/pnfInventory/",
13     "active": "main.mwtnInventory",
14     "title": "pnf Inventory",
15     "icon": "fa  fa-book",  // Add navigation icon css class here
16     "page": {
17       "title": "pnf Inventory",
18       "description": "mwtnInventory"
19     }
20   });
21
22   $stateProvider.state('main.mwtnInventory', {
23     url: 'pnfInventory/:nodeId?',
24     access: 2,
25     views: {
26       'content': {
27         templateUrl: 'src/app/mwtnInventory/mwtnInventory.tpl.html',
28         controller: 'mwtnInventoryCtrl'
29       }
30     }
31   });
32 });
33
34 /* non ES6 export */
35 // export = mwtnInventory;   
36 // export default mwtnInventory;