angular-docs-cn/modules/angular1_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
..
lib fix(angular1-router): add missing wrapper methods 2016-02-08 17:19:50 -08:00
src feat(router): add regex matchers 2016-03-02 16:08:19 -08:00
test feat(router): add regex matchers 2016-03-02 16:08:19 -08:00
build.js feat(router): add regex matchers 2016-03-02 16:08:19 -08:00
index.html fix(angular1_router): rename `$route` service to `$rootRouter` 2016-02-24 21:15:34 +00:00
karma-router.conf.js chore(build): use Chrome by default for all JS tests 2015-11-19 23:27:42 +00:00
tsd.json chore(typings): use mainline DefinitelyTyped repo rather than a fork. 2016-02-04 22:42:40 +00:00