title: How to redirect to Home page on refresh using Angular 2?
body: <p>I am using Angular CLI to build app. I have configured routes as shown below:</p>
  
  <pre><code>const routes: Routes = [
   {path: 'Home', component: HomeComponent},
    {path: 'About', component: AboutUsComponent},
    { path: '**', pathMatch: 'full', redirectTo: 'Home' }
  ];
  </code></pre>
  
  <p>I have a requirement that on refresh of the page I need to redirect to Home path. <br />
  <strong>Note:</strong> I have tried doing it with guards but failed to achieve desired result. Please help me out with the steps.</p>
  
  <p> Thanks in advance </p>