-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathapp.js
More file actions
59 lines (58 loc) · 1.42 KB
/
app.js
File metadata and controls
59 lines (58 loc) · 1.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
'use strict';
/**
* @ngdoc overview
* @name botConfApp
* @description
* # botConfApp
*
* Main module of the application.
*/
angular
.module('botConfApp', [
'xeditable',
'ui.bootstrap',
'ngMap',
'ngRoute',
'LocalStorageModule',
'ui.sortable'
]).config(function($routeProvider, $locationProvider) {
$routeProvider
.when('/', {
templateUrl: './views/auth_config.html',
controller: 'AuthCtrl as vm'
})
.when('/general-config', {
templateUrl: './views/general_config.html',
controller: 'GeneralCtrl'
})
.when('/task-config', {
templateUrl: './views/manage_tasks.html',
controller: 'TaskCtrl'
})
/*.when('/item-config', {
templateUrl: './views/item_config.html',
controller: 'ItemCtrl'
})
.when('/evolve-config', {
templateUrl: './views/evolve_config.html',
controller: 'EvolveCtrl'
})
.when('/capture-config', {
templateUrl: './views/capture_config.html',
controller: 'CaptureCtrl'
})
.when('/release-config', {
templateUrl: './views/release_config.html',
controller: 'ReleaseCtrl'
})
.when('/navigator', {
templateUrl: './views/navigator.html',
controller: 'NavigatorCtrl'
})*/
.when('/get-config', {
templateUrl: './views/get_config.html',
controller: 'GetConfigCtrl'
});
}).run(function(editableOptions) {
editableOptions.theme = 'bs3';
});