title: Navigate to another page with a button in angular 2
body: <p>I am trying to navigate to a another page by clicking a button but it fails to work. What could be the problem. I am now learning angular 2 and it's a bit tough for me now. </p>
  
  <pre><code>//Routes/Path in a folder call AdminBoard
  
  export const AdminRoutes: Routes =[
  
    {
      path: 'dashboard',
  
      component: AdminComponent,
      children: [
        {path: '', redirectTo: 'Home'},
        {path: 'Home', component: HomeComponent},
        {path: 'Service', component: ServiceComponent},
        {path: 'Service/Sign_in', component:CustomerComponent}
  
      ]
  
    }
  
  ];
  
  //Button is also in a different folder. Click button to navigate to this page           {path: 'Service/Sign_in', component:CustomerComponent}
  
    &lt;button class="btn btn-success pull-right" &gt;&lt;a routerLink="/Service/Sign_in"&gt; Add Customer&lt;/a&gt;&lt;/button&gt;
  </code></pre>