-
Notifications
You must be signed in to change notification settings - Fork 10
/
app.config.js
33 lines (27 loc) · 979 Bytes
/
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
(function() {
'use strict';
angular
.module('MyApp')
.config(config);
function config($mdIconProvider, $mdThemingProvider, $routeProvider) {
$mdThemingProvider.theme('default')
.primaryPalette('blue')
.accentPalette('blue-grey');
var rootURL = "./";
// Register the icons
$mdIconProvider
.icon("menu", rootURL + "assets/svg/menu.svg", 24);
$routeProvider
.when('/', {
templateUrl : 'mapa/mapa.view.html',
controller : 'MapaController as mapa'
})
.when('/informacion', {
templateUrl : 'informacion/informacion.view.html',
controller : 'InformacionController as informacion'
})
.otherwise({
redirectTo: '/'
});
}
})();