title: ng g c c-name => Specified module does not exist
body: <h3>My current dir</h3>
  <p><code>/src/app</code></p>
  <h3>app.module.ts dir</h3>
  <p><code>/src/app/app.module.ts</code></p>
  <h3>I need a new component in this dir</h3>
  <p><code>catalog/single/configurator/[new component here]</code></p>
  <h3>trying to add a component #1</h3>
  <p><code>ng g c catalog/single/configurator/details-popout --module AppModule</code></p>
  <blockquote>
  <p>Specified module does not exist</p>
  </blockquote>
  <h3>trying to add a component #2</h3>
  <p><code>ng g c catalog/single/configurator/details-popout --module /app.module</code></p>
  <blockquote>
  <p>Invalid rule result: Function().</p>
  </blockquote>
  <h3>trying to add a component #3</h3>
  <p><code>ng g c catalog/single/configurator/details-popout --module app</code></p>
  <blockquote>
  <p>Invalid rule result: Function().</p>
  </blockquote>
  <hr />
  <h1>Question</h1>
  <p>How can i add the component <code>details-popout</code> with Angular CLI?</p>
  <h3>Env</h3>
  <pre><code>Angular CLI: 6.0.8
  Node: 9.2.0
  OS: darwin x64
  Angular: 6.1.7
  ... animations, common, compiler, compiler-cli, core, forms
  ... http, language-service, platform-browser
  ... platform-browser-dynamic, platform-server, router
  ... service-worker
  
  Package                           Version
  -----------------------------------------------------------
  @angular-devkit/architect         0.6.8
  @angular-devkit/build-angular     0.6.8
  @angular-devkit/build-optimizer   0.6.8
  @angular-devkit/core              0.6.8
  @angular-devkit/schematics        0.7.5
  @angular/cli                      6.0.8
  @angular/fire                     5.0.0
  @angular/pwa                      0.6.8
  @ngtools/webpack                  6.0.8
  @schematics/angular               0.7.5
  @schematics/update                0.6.8
  rxjs                              6.3.2
  typescript                        2.7.2
  webpack                           4.8.3
  </code></pre>