-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathroutes.js
30 lines (27 loc) · 916 Bytes
/
routes.js
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
(function() {
'use strict';
angular.module('divineIntervention').config(function($urlRouterProvider, $stateProvider) {
$urlRouterProvider.otherwise('/');
$stateProvider
.state('dashboard', {
url: '/',
controller: 'DashboardCtrl',
templateUrl: 'views/dashboard.html'
})
.state('rules', {
url: '/rules',
controller: 'DashboardCtrl',
templateUrl: 'views/rules.html'
})
// .state('cultures', {
// url: '/cultures',
// controller: 'DashboardCtrl',
// templateUrl: 'views/cultures.html'
// })
.state('events', {
url: '/events',
controller: 'DashboardCtrl',
templateUrl: 'views/events.html'
})
});
})();