import { Routes } from '@angular/router';

export const <%= classify(name) %>ChildrenRoutes: Routes =  [
  <% for (let route of childrenRoutes) { %>
    {
      path: '<%= route.path %>',
      loadChildren: '<%= route.loadChildren %>'
    },
  <% } %><% if (typeof defaultPage !== "undefined") { %>
    {
      path: '',
      redirectTo: '<%= defaultPage %>',
      pathMatch: 'full'
    }
  <% } %>
];
