title: Pass parameter into route guard
body: <p>I'm working on an app that has a lot of roles that I need to use guards to block nav to parts of the app based on those roles. I realize I can create individual guard classes for each role, but would rather have one class that I could somehow pass a parameter into. In other words I would like to be able to do something similar to this:</p>
  
  <pre><code>{ 
    path: 'super-user-stuff', 
    component: SuperUserStuffComponent,
    canActivate: [RoleGuard.forRole('superUser')]
  }
  </code></pre>
  
  <p>But since all you pass is the type name of your guard, can't think of a way to do that. Should I just bit the bullet and write the individual guard classes per role and shatter my illusion of elegance in having a single parameterized type instead?</p>