title: local files Showing 404 error in angularjs 4
body: <p>I am new to angular 4; I have installed using <code>npm install -g @angular/cli</code>. Then created a new project using <code>ng new my-app</code>.</p>
  
  <pre><code>|-src
  |  -app
  |    app.component.css
  |    app.component.html
  |    app.component.spec.ts
  |    app.component.ts
  |    app.module.ts
  </code></pre>
  
  <p><code>src</code> folder contains app folder which contains corresponding above css, ts, html files. Now I have added an image in the app folder</p>
  
  <pre><code>|-src
  |  -app
  |    app.component.css
  |    app.component.html
  |    app.component.spec.ts
  |    app.component.ts
  |    app.module.ts
  |    image.jpg
  </code></pre>
  
  <p>The problem is, when I add a <code>&lt;img src="image.jpg"&gt;</code> tag in app.component.html, it is showing a <code>404</code> error in the console. But if I add a style like <code>background: url('image.jpg');</code> in app.component.css, it's working. </p>
  
  <p>Any suggestions please? Thank you.</p>