blob: fe96c99176235b7c64af7186dabc816e486554c3 [file] [log] [blame]
export default routesConfig;
function routesConfig($stateProvider: angular.ui.IStateProvider, $locationProvider: angular.ILocationProvider) {
$locationProvider.html5Mode(false).hashPrefix('');
$stateProvider
.state('xos.xos-sample-gui-extension', {
url: 'xos-sample-gui-extension',
abstract: true,
template: '<div ui-view></div>'
})
.state('xos.xos-sample-gui-extension.example-route', {
url: '/example-route',
parent: 'xos.xos-sample-gui-extension',
component: 'demo'
});
}