Add properties to routes in angular2
<p>I would like to know if it's possible to add a custom property to the routes defined in RouteConfig decorator. </p>

<p>I would like to add whatever a route needs authentication or not:</p>

<pre><code>@RouteConfig([
  {
    path: "/login",
    name: "Login",
    component: LoginComponent,
    authenticate: false,
  },
  {
    path: "/home",
    name: "Home",
    component: HomeComponent,
    authenticate: true
  }
])
</code></pre>

<p>If this is possible, how do I get the value "authenticate" in the component?</p>