2 * ================================================================================
4 * ================================================================================
5 * Copyright (C) 2017 AT&T Intellectual Property
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ================================================================================
20 app.config(function($routeProvider) {
24 .when('/role_function_list', {
25 templateUrl: 'app/fusion/scripts/view-models/profile-page/role_function_list.html',
26 controller: 'roleFunctionListController'
29 .when('/admin_menu_edit', {
30 templateUrl: 'app/fusion/scripts/view-models/profile-page/admin_menu_edit.html',
31 controller: 'AdminMenuEditController'
33 .when('/role/:roleId', {
34 templateUrl: 'app/fusion/scripts/view-models/profile-page/role.html',
35 controller: 'roleController'
38 templateUrl: 'app/fusion/scripts/view-models/profile-page/jcs_admin.html',
39 controller: 'cacheAdminController'
41 .when('/broadcast_list', {
42 templateUrl: 'app/fusion/scripts/view-models/profile-page/broadcast_list.html',
43 controller: 'broadcastListController'
45 .when('/broadcast/:messageLocationId/:messageLocation/:messageId', {
46 templateUrl: 'app/fusion/scripts/view-models/profile-page/broadcast.html',
47 controller: 'broadcastController'
49 .when('/broadcast/:messageLocationId/:messageLocation', {
50 templateUrl: 'app/fusion/scripts/view-models/profile-page/broadcast.html',
51 controller: 'broadcastController'
53 .when('/collaborate_list', {
54 templateUrl: 'app/fusion/scripts/view-models/profile-page/collaborate_list.html',
55 controller: 'collaborateListController'
57 .when('/usage_list', {
58 templateUrl: 'app/fusion/scripts/view-models/profile-page/usage_list.html',
59 controller: 'usageListController'
62 templateUrl: 'app/fusion/scripts/view-models/profile-page/role_list.html',
63 controller : "roleListController"