title: How to get route parameters in the AngularDart component in my view?
body: <p>In AngularDart, how can I get the route parameters from within my component which is in a view?</p>
  
  <p>As far as I have managed to get is that in my router, I believe I should add parameters as such:</p>
  
  <pre><code>'class': ngRoute(
      path: '/class/:year/:month/:day',
      view: 'views/class.html'
  ),
  </code></pre>
  
  <p>Then how can I get the year month and day in my component? its a @Component annotated class.</p>