This chapter will cover the following recipes:
Few features of Angular 2 should be anticipated more than the Component Router. This new routing implementation affords you a dazzling array of features that were missing or severely lacking in Angular 1.
Angular 2 implements matrix parameters; this is an entirely new syntax for URL structures. Originally proposed by Tim Berners-Lee in 1996, this semicolon-based syntax gives you the ability to robustly associate parameters not just with a single URL, but with different levels in that URL. Your application can now introduce an additional dimension of application state in the URLs.
Additionally, Component Router gives you a method of elegantly nesting views within each other as well as a simple way of defining routes and links to these component hierarchies. For you, this means your applications can truly take maximal advantage of defining an application as an independent module.
Finally, Component Router fully embraces integration with Observable structures and provides you with some beautiful ways of navigating and controlling navigation within your application.