title: Linking to other html pages using <a> tags in Angular 2
body: <p>So I'm very new to Angular 2 and I'm using it to make a personal website. I have a main page with bio information on it and another page where I'll have blog content inside it. Both these pages will have the same header and footer with simply different body content inside them. The project file directory looks a bit like this, with footer, header and blog being components.</p>
  
  <pre><code>app
  ├── app.component.html
  ├── app.module.ts
  ├── app.component.ts
  ├── app.component.spec.ts
  ├── blog
  |   ├── blog.component.html
  |   └── blog.component.spec.ts
  |   └── blog.component.ts  
  ├── footer
  |   ├── footer.component.html
  |   └── footer.component.spec.ts
  |   └── footer.component.ts
  ├── header
  |   ├── header.component.html
  |   └── header.component.spec.ts
  |   └── header.component.ts
  </code></pre>
  
  <p>For simplicity, I've taken out irrelevant files and CSS from the above example.</p>
  
  <p>Now in my header (header.component.html) - I have the following code which intends to allow users to navigate from the home page to blog page and back</p>
  
  <pre><code>&lt;!-- Header --&gt;
  &lt;div class="header container-fluid"&gt;
   &lt;div class="col-md-6"&gt;
    &lt;img src="logo.jpg" alt="Logo"&gt;
   &lt;/div&gt;
  &lt;div class="col-md-6 offset-6"&gt;
   &lt;a href="../../index.html"&gt;Home&lt;/a&gt;
   &lt;a href="../blog/blog.component.html"&gt;Blog&lt;/a&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p></p>
  
  <p>However, the blog.component.html page won't link. I don't understand how links are supposed to work in Angular 2- should I create another html page where the blog is linked through it's selector or what? I feel like this is a stupid question and I'm sure there's an obvious answer- I just can't seem to crack it though! I've read stuff about 'routing' on other pages, although they seem to be pedaling solutions that seem so complicated when traditional html and JS seem to link up html pages through a tags so easily!</p>
  
  <p>What am I doing wrong? Please someone give me help here- I would love a simple and easy solution.</p>