title: Redirect non-matching routes in Angular 2
body: <p>I am looking for equivalent of <code>$urlRouterProvider.otherwise</code> in Angular 2. </p>
  
  <p><strong>More details:</strong> </p>
  
  <p>I have a router definition like this:</p>
  
  <pre><code>@RouteConfig([
    { path: "/", component: MultiPost, name: "Home", useAsDefault: true },
    { path: "/m/:collectionName/:categoryName/:page", component: MultiPost, name: "MultiPost" }
  ])
  </code></pre>
  
  <p>Both routes are working perfectly, for instance when I hit <code>/</code> or <code>/m/sth/sth/0</code> I got what I want.</p>
  
  <p>But when I hit a random url like <code>/kdfsgdshdjf</code> nothing happens. Page is rendered and <code>&lt;router-outlet&gt;</code> is empty since no route is matched.</p>
  
  <p>What I want to do is to redirect all non matching routes to a default one. I need something like <code>$urlRouterProvider.otherwise("/");</code>.</p>
  
  <p>Does anyone knows how to do that?</p>