Angular2 Routing: Basics

What I'm covering in this post: Implementing Routing into a brand new Angular2 app created using Angular Cli Switching between routes Child routes Nested outlets Auxiliary/Named outlets The source code covered in this post is available here A lot of the content of this post can be found in the Angular2 docs as well. Pre-requisites I'm using Angular Cli to build and run the application. So to follow through the steps below, make sure you install the Angular Cli and all its pre-requisites. You can check their GitHub for more information. Implementing Routing Step 1 - First I'll create »