2  * Copyright (c) 2016 highstreet technologies GmbH and others.  All rights reserved.
 
   4  * This program and the accompanying materials are made available under the
 
   5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
 
   6  * and is available at http://www.eclipse.org/legal/epl-v10.html
 
  11         'app/core/core.services', 
 
  12         'common/config/env.module',
 
  13         'app/mwtnCommons/mwtnCommons.module'], function(ng) {
 
  14   var mwtnPerformanceCurrentApp = angular.module('app.mwtnPerformanceCurrent', ['ui.grid', 'ui.bootstrap', 'app.core', 'ui.router.state', 'config', 'ui.router.state','ui.grid.exporter',
 
  15       'ui.grid.moveColumns', 'ui.grid.pinning', 'ui.grid.selection',
 
  16       'ui.grid.resizeColumns', 'ui.grid.pagination','ui.grid.autoResize']);
 
  18   mwtnPerformanceCurrentApp.config(function($stateProvider, $compileProvider, $controllerProvider, $provide, NavHelperProvider, $translateProvider) {
 
  19     mwtnPerformanceCurrentApp.register = {
 
  20       controller : $controllerProvider.register,
 
  21       directive : $compileProvider.directive,
 
  22       factory : $provide.factory,
 
  23       service : $provide.service
 
  27     NavHelperProvider.addControllerUrl('app/mwtnPerformanceCurrent/mwtnPerformanceCurrent.controller');
 
  28     NavHelperProvider.addToMenu('mwtnPerformanceCurrent', {
 
  29      "link" : "#/pnfPerformanceCurrent",
 
  30      "active" : "main.mwtnPerformanceCurrent",
 
  31      "title" : "pnf PM Current",
 
  32      "icon" : "fa fa-bar-chart",  // Add navigation icon css class here
 
  34         "title" : "pnf PM Current",
 
  35         "description" : "mwtnPerformanceCurrent"
 
  39     var access = routingConfig.accessLevels;
 
  41     $stateProvider.state('main.mwtnPerformanceCurrent', {
 
  42         url: 'pnfPerformanceCurrent',
 
  46                 templateUrl: 'src/app/mwtnPerformanceCurrent/mwtnPerformanceCurrent.tpl.html',
 
  47                 controller: 'mwtnPerformanceCurrentCtrl'
 
  54   return mwtnPerformanceCurrentApp;