aodb/app/flight-detail/flight-detail.config.ts

21 lines
494 B
TypeScript
Raw Permalink Normal View History

2016-12-22 00:00:06 +00:00
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>'
}
}
});
}
}