mirror of
https://gitlab.silvrtree.co.uk/martind2000/aodb.git
synced 2025-02-04 10:50:16 +00:00
21 lines
494 B
TypeScript
21 lines
494 B
TypeScript
import {inject} from '../infrastructure/Dectorators/Components';
|
|
|
|
@inject(['$stateProvider'])
|
|
export class Routes {
|
|
constructor($stateProvider: ng.ui.IStateProvider) {
|
|
$stateProvider.state('chroma.flight-detail', {
|
|
url: '/flight-detail/:id',
|
|
params: {
|
|
flight: undefined,
|
|
id: undefined,
|
|
requestId: undefined
|
|
},
|
|
views: {
|
|
'content': {
|
|
template: '<chroma:Flight-Detail></chroma:Flight-Detail>'
|
|
}
|
|
}
|
|
});
|
|
}
|
|
}
|