@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
		
	
Angular
Angular is a development platform for building mobile and desktop web applications. This is the repository for Angular 2, both the JavaScript (JS) and Dart versions.
Angular 2 is currently in Beta.
Quickstart
Want to help?
Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our guidelines for contributing and then check out one of our issues in the hotlist: community-help.
					Languages
				
				
								
								
									TypeScript
								
								68.6%
							
						
							
								
								
									HTML
								
								12.8%
							
						
							
								
								
									JavaScript
								
								8.4%
							
						
							
								
								
									Pug
								
								7%
							
						
							
								
								
									Starlark
								
								1.4%
							
						
							
								
								
									Other
								
								1.7%