I am trying out the new angular 2 router and I am curious if this 
functionality is possible:

I'd like to set up one path that can support a dynamic amount of ( / 
delimited ) arguments/parameters so that RouteParams in a bound component 
can interpret from an array.

@RouteConfig([
{ path: '/:firstarg/:secondarg/:thirdarg/*', as: 'Rabble', component: 
Rabble }
])

and in rabble.ts I would gain access to an array like this from 
RouteParams, depending on how many / delimited path elements there are in 
the url:

[
      {
                0 : "firstarg"
      }, {
                1 : "secondarg"
      }, {
                2 : "thirdarg"
      }
]

Thank you greatly for your guidance - I very much appreciate your help

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to