main.routes.ts 1.07 KB
Newer Older
1 2 3 4 5 6 7
import {
  Routes,
  RouterModule,
} from '@angular/router';

import {CamelCasePipe} from '../pipes/camelcase';
import Form3 from '../components/form-controls/form3';
8
import StudentApplicationMain from '../components/student-application-form/application.form.main';
9 10
import StudentsList from '../components/students/students-list';
import Home from '../components/home';
11
import CourseFieldsSelect from '../components/student-application-form/course.fields.select';
12
import RegionSchoolsSelect from '../components/student-application-form/region.schools.select';
13 14 15 16

export const MainRoutes: Routes = [
  { path: '', component: Home },
  { path: 'form3', component: Form3 },
17
  { path: 'student-application-form-main', component: StudentApplicationMain },
18
  { path: 'students-list', component: StudentsList },
19 20
  { path: 'course-fields-select', component: CourseFieldsSelect },
  { path: 'region-schools-select', component: RegionSchoolsSelect }
21 22 23 24 25 26 27
];

export const MainDeclarations = [
  CamelCasePipe,
  Form3,
  StudentsList,
  Home,
28
  CourseFieldsSelect,
29
  RegionSchoolsSelect,
30
  StudentApplicationMain
31
];