angular-cn/modules/angular2/test/router
Brian Ford 75343eb340 feat(router): add regex matchers
@petebacondarwin deserves credit for most of this commit.

This allows you to specify a regex and serializer function instead
of the path DSL in your route declaration.

```
@RouteConfig([
  { regex: '[a-z]+.[0-9]+',
    serializer: (params) => `{params.a}.params.b}`,
    component: MyComponent }
])
class Component {}
```

Closes #7325
Closes #7126
2016-03-02 16:08:19 -08:00
..
directives feat(router): add regex matchers 2016-03-02 16:08:19 -08:00
integration feat(router): add regex matchers 2016-03-02 16:08:19 -08:00
location feat(router): add regex matchers 2016-03-02 16:08:19 -08:00
route_config feat(router): add regex matchers 2016-03-02 16:08:19 -08:00
rules feat(router): add regex matchers 2016-03-02 16:08:19 -08:00
route_registry_spec.ts feat(router): add regex matchers 2016-03-02 16:08:19 -08:00
router_spec.ts feat(router): add regex matchers 2016-03-02 16:08:19 -08:00
spies.dart fix(Router): Query strings are copied for HashLocationStrategy 2016-02-29 18:44:56 +00:00
spies.ts fix(Router): Query strings are copied for HashLocationStrategy 2016-02-29 18:44:56 +00:00
url_parser_spec.ts feat(router): add regex matchers 2016-03-02 16:08:19 -08:00