mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
@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
|
||
|---|---|---|
| .. | ||
| analytics | ||
| broccoli | ||
| build | ||
| cjs-jasmine | ||
| code.angularjs.org | ||
| karma | ||
| npm | ||
| public_api_guard | ||
| travis | ||
| tslint | ||
| check-environment.js | ||
| chromedriverpatch.js | ||
| jsconfig.json | ||
| tsconfig.json | ||
| tsd.json | ||
| utils.inc | ||