>From https://angular.io/docs/ts/latest/guide/router.html
A redirect route requires a pathMatch property to tell the router how to match a URL to the path of a route. Technically, pathMatch = 'full' results in a route hit when the *remaining*, unmatched segments of the URL match ''. In our example, the redirect is at the top level of the route configuration tree so the *remaining* URL and the *entire* URL are the same thing. The other possible pathMatch value is 'prefix' which tells the router to match the redirect route when the *remaining*URL *begins* with the redirect route's *prefix* path. I would suggest that pathMatch be renamed pathRemainderMatch to reflect the fact that that matching at ancestor levels consumes segments of the original full path propagating only the remainder of the full path to child level matchers - the documentation should also illustrate how <router-outlet> elements within mapped components in the application RouterConfig mappers would match the remaining path (showing how ancestors will have consumed segments of the original full path) -- 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 https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
