Route to a component The Angular 2 router is a powerful tool which enables you to do just that. Specifically you can configure it to route to a component when the user enters a specific url for your site. So in this case, we could configure it so that navigating to http://domain/hello routes directly to the hello world component. Open up your app.module.ts file and make the following simple change in routing section. 1 2 3 4 5 6 7 8 9 10 11 imports: [ DefaultModules, //This automatically imports BrowserModule, HttpModule, and JsonpModule too. RouterModule.forRoot([ { path: '' , redirectTo: 'home' , pathMatch: 'full' }, { path: 'home' , component: HomeComponent }, { path: 'counter' , component: CounterComponent }, ...