-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.js
33 lines (30 loc) · 823 Bytes
/
app.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
/**
* CrestViewer Module
*
* Description
*/
'use strict';
var app = angular.module('crestviewer', ['ngRoute']);
app.value('geminateRegionID', 10000029);
app.value('ipsqbConstelationID', 20000358);
app.value('bwfzzSolarID', 30002440);
app.config(['$routeProvider', function ($routeProvider) {
$routeProvider
.when("/", {
controller: 'publicListController',
templateUrl: 'templates/link.html'
})
.when("/regions", {
controller: 'regionsController',
templateUrl: 'templates/regions.html'
})
.when("/auth", {
controller: 'authController',
template: ''
}).when("/about", {
templateUrl: 'templates/about.html'
})
.otherwise({
redirectTo: "/"
});
}]);