-
Notifications
You must be signed in to change notification settings - Fork 16
/
app.js
28 lines (25 loc) · 898 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
/*
* EarthStation v0.3
* (c) 2013 Shashwat Kandadai and UCSC
* https://github.com/shashwatak/EarthStation
* License: MIT
*/
var EarthStation = angular.module('EarthStation', ['monospaced.mousewheel']);
EarthStation.config(['$routeProvider', function($routeProvider) {
$routeProvider.
when('/', {
templateUrl: 'templates/EarthStation.html',
controller: UICtrl
}).
otherwise({redirectTo: '/'});
}]);
EarthStation.service('ThreeJS', ThreeJS);
EarthStation.service('WorkerManager', WorkerManager);
EarthStation.service('Motors', Motors);
EarthStation.service('Radios', Radios);
EarthStation.filter('latitude', latitude_filter);
EarthStation.filter('longitude', longitude_filter);
EarthStation.filter('azimuth', azimuth_filter);
EarthStation.filter('elevation', elevation_filter);
EarthStation.filter('distance', distance_filter);
EarthStation.filter('seconds', seconds_filter);