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
9 define(['angularAMD', 'app/routingConfig', 'app/core/core.services', 'common/config/env.module'], function(ng) {
10 var odlChatApp = angular.module('app.odlChat', ['app.core', 'ui.router.state','config']);
12 odlChatApp.config(function($stateProvider, $compileProvider, $controllerProvider, $provide, NavHelperProvider, $translateProvider) {
13 odlChatApp.register = {
14 controller : $controllerProvider.register,
15 directive : $compileProvider.directive,
16 factory : $provide.factory,
17 service : $provide.service
22 NavHelperProvider.addControllerUrl('app/odlChat/odlChat.controller');
23 NavHelperProvider.addToMenu('odlChat', {
25 "active" : "main.odlChat",
27 "icon" : "fa-comments", // Add navigation icon css class here
30 "description" : "odlChat"
34 var access = routingConfig.accessLevels;
36 $stateProvider.state('main.odlChat', {
41 templateUrl: 'src/app/odlChat/odlChat.tpl.html',
42 controller: 'odlChatCtrl'