title: Unexpected value 'undefined' declared by the module 'AppModule'
body: <p>What is wrong here? I'm trying to make it work but I get that error in the header. I have included the <code>&lt;router-outlet&gt;&lt;/router-outlet&gt;</code> in the <code>app.component.html</code> that is being <code>templateUrl</code> called by the <code>app.component.ts</code>, still no luck.</p>
  
  <p><strong>app.module.ts</strong>: </p>
  
  <pre><code>import { NgModule }             from '@angular/core';
  import { BrowserModule }        from '@angular/platform-browser';
  import { FormsModule }          from '@angular/forms';
  import { RouterModule, Routes } from '@angular/router';
  
  
  import { AppComponent }  from './app.component';
  import { AppRoutingModule } from './app-routing.module';
  import { TopnavComponent } from './components/navbars/topnav/topnav.component';
  import { LeftnavComponent } from './components/navbars/leftnav/leftnav.component';
  import { LeftnavsecondaryComponent } from './components/navbars/leftnav-secondary/leftnav-secondary.component';
  import { WorldofwarcraftComponent } from './components/games/worldofwarcraft/worldofwarcraft.component';
  
  @NgModule({
      imports:    [ BrowserModule, FormsModule, AppRoutingModule ],
      declarations:   [ AppComponent, TopnavComponent, LeftnavComponent, LeftnavsecondaryComponent, WorldofwarcraftComponent ],
      bootstrap:  [ AppComponent ]
  })
  
  export class AppModule { }
  </code></pre>
  
  <p><strong>app-routing.module.ts</strong>:</p>
  
  <pre><code>import { NgModule }              from '@angular/core';
  import { RouterModule, Routes }  from '@angular/router';
  
  import { WorldofwarcraftComponent } from './components/games/worldofwarcraft/worldofwarcraft.component';
  
  const appRoutes: Routes = [
    { path: 'worldofwacraft', component: WorldofwarcraftComponent }
  ];
  
  @NgModule({
    imports: [ RouterModule.forRoot(appRoutes) ],
    exports: [ RouterModule ]
  })
  
  export class AppRoutingModule {}
  </code></pre>