title: Cannot create angular component in Visual Studio Code
body: <p>I am trying to create an angular component in visual studio code. By default, my angular components are in ClientApp. I have some default components in ClientApp. When I tried to add a new angular component in the components folder in ClientApp I get an error. </p>
  
  <p>When I enter "ng g component vehicle-form" I have an error. It says " Invalid path: "vehicle-form" cannot be above the "ClientApp\app" directory." However, my angular components are in the app folder located within the app folder of Client App.</p>
  
  <blockquote>
    <p>PS C:\Users\Sushi\vega> cd ClientApp<br>
    PS C:\Users\Sushi\vega\ClientApp> cd app<br>
    PS C:\Users\Sushi\vega\ClientApp\app> cd components<br>
    PS C:\Users\Sushi\vega\ClientApp\app\components> ng g component
    vehicle-form<br>
    Invalid path: "vehicle-form" cannot be above the "ClientApp\app"
    directory</p>
  </blockquote>
  
  <p>My .angular-cli.json configuration  is as listed below.</p>
  
  <pre><code>"apps": [
          {
            "root": "ClientApp",
            "outDir": "dist",
            "assets": [
              "assets",
              "favicon.ico"
  </code></pre>