-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.config.js
45 lines (43 loc) · 1.46 KB
/
app.config.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
'use strict';
angular.
module('postGradApp').
config(['$locationProvider' ,'$routeProvider',
function config($locationProvider, $routeProvider) {
$locationProvider.hashPrefix('!');
$routeProvider.
when('/components/login', {
template: '<login></login>'
}).
when('/components/faculty-home', {
template: '<faculty-home></faculty-home>'
}).
when('/components/student-home', {
template: '<student-home></student-home>'
}).
when('/components/it-home', {
template: '<it-home></it-home>'
}).
when('/components/search', {
template: '<search></search>'
}).
when('/components/search-results', {
template: '<search-results></search-results>'
}).
when('/components/faculty-view-all', {
template: '<faculty-view-all></faculty-view-all>'
}).
when('/components/view-pos', {
template: '<view-pos></view-pos>'
}).
when('/components/contact-info', {
template: '<contact-info></contact-info>'
}).
when('/components/import-spreadsheet', {
template: '<import-spreadsheet></import-spreadsheet>'
}).
when('/components/manage-privileges', {
template: '<manage-privileges></manage-privileges>'
}).
otherwise('/components/login');
}
]);