import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

import { DocumentsComponent } from './documents/documents.component';
import { AnswerBookletComponent } from './answer-booklet/answer-booklet.component';
const routes: Routes = [
  {
    path: '',
    data: {
     title: 'Status'
    },
    children: [{
        path: 'answerBooklet',
        component: AnswerBookletComponent,
        data: {
          title: 'Answer Booklet'
        }
      },{
        path: 'documents',
        component: DocumentsComponent,
        data: {
          title: 'Documents'
        }
      }
    ]
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class StatusRoutingModule {}
