title: Angular 2 Use module constructor to setup
body: <p>I lazyload this feature module. It has different routes and the first one is the default route. As I need to setup a menu for this feature module I have tried to use the module constructor. </p>
  
  <p>It works perfectly but is it semantically correct to use the module to setup data? I haven't see any example where someone used the same approach. </p>
  
  <pre><code>import {NgModule}      from '@angular/core';
  import {Routes, RouterModule}  from '@angular/router';
  import {OverviewComponent} from "@app/$/main/overview.component";
  import {DetailComponent} from "@app/$/main/overview.component";
  import {MenuService} from "@app/scheme/desk/menu/menu.service";
  
  export const routes:Routes = [
      {
          path: "",
          redirectTo: "overview"
      },
      {
          path: "overview",
          component : OverviewComponent,
      },
      {
          path: "detail",
          component : DetailComponent
      }
  
  ];
  
  @NgModule({
      imports: [RouterModule.forChild(routes)],
      declarations:   [OverviewComponent, DetailComponent],
      exports: [RouterModule]
  })
  export class DeskModule {
  
      constructor(private menuService:MenuService){
  
          this.menuService.items = [{
              label: 'Overview',
          },
          {
              label: 'Detail',
          }];
  
      }
  
  }
  </code></pre>