title: New Angular2 router configuration
body: <p>Back when using the deprecated router I was able to do a router.config and pass in an object. Thing is, the router itself got configured a bit after the app was started, the object had the same "template" as if I'd used the @RouterConfig. What I'm looking for is if there is a way to config the new router like this. Been looking through the documentation but I'm a bit at a loss since it isn't documented yet.</p>
  
  <p><strong><em>Edit due to answer</em></strong></p>
  
  <p>No, I can't use @Routes. Thing is I'm loading the configuration after the construction of the router. Here is a snipped of how I did it with the old router:</p>
  
  <pre><code>       myLoader.loadComponentConfig(configPath)
        .then(components =&gt; { self.Components = components;
           components.map(comp =&gt; {
               self.RouterComponents.push(
                   {
                       path: '/' + comp.name,
                       component: comp,
                       as: comp.name
                   }
               )});
               router.config(self.RouterComponents);
          });
  </code></pre>
  
  <p>As you can see, I'm building myself a json object ( RouterComponents ) and then sending it to the router. I'm looking for a way to do the same with the new router, or something alike.</p>