Bookmarkable routes in angular 2
<p>I'm trying to develop app. with the help of <strong>routes</strong>(<strong>Lazy Loading</strong>) in angular 2(<strong>RC5</strong>). I found that I'm not able to bookmark any route, even I tried to directly put link in URL but it didn't work, I googled the problem, but not able to figure it out!!</p>

<p>Here are some snippet of my core:</p>

<p><strong>index.html</strong></p>

<pre><code>&lt;html&gt;
  &lt;head&gt;
    &lt;title&gt;Angular 2 QuickStart&lt;/title&gt;
    &lt;meta charset="UTF-8"&gt;
    &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;

     &lt;!-- 1. Load libraries --&gt;
     &lt;!-- Polyfill(s) for older browsers --&gt;
    &lt;script src="node_modules/core-js/client/shim.min.js"&gt;&lt;/script&gt;
    &lt;script src="node_modules/zone.js/dist/zone.js"&gt;&lt;/script&gt;
    &lt;script src="node_modules/reflect-metadata/Reflect.js"&gt;&lt;/script&gt;
    &lt;script src="node_modules/systemjs/dist/system.src.js"&gt;&lt;/script&gt;
    &lt;script src="node_modules/ng2-bootstrap/bundles/ng2-bootstrap.min.js"&gt;&lt;/script&gt;
    &lt;!-- 2. Configure SystemJS --&gt;
    &lt;script src="systemjs.config.js"&gt;&lt;/script&gt;
&lt;link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"&gt;
    &lt;script&gt;
      System.import('app').catch(function(err){ console.error(err); });
    &lt;/script&gt;
    &lt;link rel="stylesheet" href="node_modules/dragula/dist/dragula.css"&gt;
    &lt;base href = ''&gt;
  &lt;/head&gt;
  &lt;!-- 3. Display the application --&gt;
  &lt;body&gt;
    &lt;main-app class='container'&gt;Loading...&lt;/main-app&gt;
  &lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p><strong>AppComponent</strong> </p>

<pre><code>import { Component } from '@angular/core';

@Component({
    selector: 'main-app',
    template: `
        &lt;h4&gt;Today: {{ todaysDate | date:"dd/MM/yy"}}&lt;/h4&gt;
        &lt;nav&gt;
            &lt;a routerLink = '/home' routerLinkActive = 'active'&gt;Home Tab&lt;/a&gt;
            &lt;a routerLink = '/clients' routerLinkActive = 'active'&gt;Clients Tab&lt;/a&gt;
            &lt;a routerLink = '/aboutus' routerLinkActive = 'active'&gt;About Us Tab&lt;/a&gt;
        &lt;/nav&gt;
        &lt;router-outlet&gt;&lt;/router-outlet&gt;
    `
})
export class AppComponent{
    ....
    ....
}
</code></pre>

<p><strong>AppRouter:</strong> </p>

<pre><code>import { Routes, RouterModule } from '@angular/router';
import { homeComponent } from '../home.component/home.component';
import { clientsComponent } from '../clients.component/clients.component';
import { aboutusComponent } from '../aboutus.component/aboutus.component';

const routes = [
    {
        path: 'home',
        component: homeComponent
    },
    {
        path: 'clients',
        component: clientsComponent
    },
    {
        path: 'aboutus',
        component: aboutusComponent
    },
    {
        path: '**',
        component: homeComponent
    }
];
export const appRouteProviders = [];
export const appRoutes = RouterModule.forRoot(routes);
</code></pre>

<p>When I tried to put a link <strong>directly</strong> in URL, say - <a href="http://localhost:3000/clients" rel="nofollow">http://localhost:3000/clients</a> or <a href="http://localhost:3000/aboutus" rel="nofollow">http://localhost:3000/aboutus</a> , it doesn't work!! Then Why these links are not bookmarkable ? What <strong>Lazy Loading</strong> exactly do then? Please help me out.</p>