| 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 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 | 1× 1× 1× | (function ()
{
'use strict';
angular
.module('app.components.maps',
[
// 3rd Party Dependencies
'uiGmapgoogle-maps'
]
)
.config(config);
/** @ngInject */
function config($stateProvider)
{
$stateProvider
.state('app.components_maps', {
url : '/components/maps',
views: {
'content@app' : {
templateUrl: 'app/main/components/maps/maps.html',
controller : 'MapsController as vm'
},
'tabContent@app.components_maps': {
templateUrl: 'app/main/components/maps/tabs/simple.html'
}
}
})
.state('app.components_maps.satellite', {
url : '/satellite',
views: {
'tabContent': {
templateUrl: 'app/main/components/maps/tabs/satellite.html'
}
}
})
.state('app.components_maps.terrain', {
url : '/terrain',
views: {
'tabContent': {
templateUrl: 'app/main/components/maps/tabs/terrain.html'
}
}
})
.state('app.components_maps.simple-marker', {
url : '/simple-marker',
views: {
'tabContent': {
templateUrl: 'app/main/components/maps/tabs/simple-marker.html'
}
}
})
.state('app.components_maps.custom-marker', {
url : '/custom-marker',
views: {
'tabContent': {
templateUrl: 'app/main/components/maps/tabs/custom-marker.html'
}
}
})
.state('app.components_maps.info-window', {
url : '/info-window',
views: {
'tabContent': {
templateUrl: 'app/main/components/maps/tabs/info-window.html'
}
}
});
}
})(); |