Basic Routing in Angular 2

Today in the series Learning angular 2 step by step, we will learn about angular 2 basic routing.  Routing allows us mapping a URL path to a component. So users can navigate to a different component by 
Learn Angular 2 step by step
Basic Routing in Angular 2
import {Component} from '@angular/core'
@Component({
    selector:'dashboard',
    templateUrl:'dashbaord.component.html',
    moduleId:module.id
})
export class DashboardComponent{
    public Title:string = 'Dashboard';
}
Posted By :