title: define path in tsconfig.app.json for angular project
body: <p>The project was generated via angular CLI. I have the following folder structure:</p>
  
  <p><a href="https://i.stack.imgur.com/lqGMo.png" rel="noreferrer"><img src="https://i.stack.imgur.com/lqGMo.png" alt="enter image description here"></a></p>
  
  <p>I want to define a path to a <strong>bar</strong> folder in <strong>tsconfig.app.json</strong> and import <code>Car</code> to <code>Garage</code>.</p>
  
  <p>My <strong>tsconfig.app.json</strong>:</p>
  
  <pre><code>{
    "extends": "../tsconfig.json",
    "compilerOptions": {
      ...
      "baseUrl": "./",
      "paths" : {
        "@bar" : ["foo/bar"]
      },
      ...
    },
    ...
  }
  </code></pre>
  
  <p>My <strong>Garage.ts</strong>:</p>
  
  <pre><code>import { Car } from "@bar/Car";
  export class Garage {}
  </code></pre>
  
  <p>In garage.ts I have an error:</p>
  
  <blockquote>
    <p>Cannot find module '@bar/car'.</p>
  </blockquote>