title: How is routing with nested modules supposed to work in Angular 2?
body: <p>I can't for the love of cookies figure out how to configure the most recent incarnation of the Angular 2 router (the one from the final release). I have a rather large Angular 2 RC5 app up and running, but need to migrate to the final release now before I can move on.</p>
  
  <p>In this app I have a lot of nested components that, according to Google's docs, should be organised as features in module. The typical URL in my app looks like so</p>
  
  <pre><code>user/34/section/95/client/13/&lt;feature&gt;
  </code></pre>
  
  <p>but there are also a few others, such as</p>
  
  <pre><code>user/34/settings
  </code></pre>
  
  <p>so in this case, <code>settings</code> would be a feature module.</p>
  
  <p>I've read the docs, which are rather long-winded and are in no hurry to cut to the chase, only to find out that this case isn't covered at all. I can't believe that this scenario isn't going to work, it would seem to be a huge oversight so I suppose the problem is that I haven't quite grasped how this router actually works - and I have a feeling that I'm not the only one.</p>
  
  <p>I've created <a href="http://plnkr.co/edit/0yL3m32TnPE9xccDohZC?p=preview" rel="nofollow">this plunker</a> to illustrate my point. </p>
  
  <p>In this plunker I got 2 levels of nesting</p>
  
  <pre><code>app -&gt; benutzer (user) -&gt; klient (client)
  </code></pre>
  
  <p>just enough to make the issue appear. The expected outcome is that I can navigate to</p>
  
  <pre><code>benutzer/78/klient/56
  </code></pre>
  
  <p>i.e. the router actually <em>finds</em> that route, which at the moment it doesn't.</p>
  
  <p>Before I moved the code to plunker and added <code>dashboard.component</code> (because I can't easily modify the URL in plunker, so I have to resort to <code>routerLink</code>) I could actually navigate to</p>
  
  <pre><code>klient/56
  </code></pre>
  
  <p>which shouldn't be possible. It seems that each route defined in another module is added to the root instead of building on top of each other.</p>
  
  <p>Any help with this is greatly appreciated.</p>