title: Is it possible to import a component without a module
body: <p>I am wanting to import a component into another component in Angular 4.4.6. This may end up being just a theoretical answer, which is fine. Just figured I would reach out here to see if anyone is doing this. I typically would just create a module for the component etc. etc., but I am really trying to cut out any extra files - trying to avoid file smell. </p>
  
  <p>I have no real code to share, although I am picturing something like this:</p>
  
  <pre><code>@Component({
       selector:'someSelector',
       template:`&lt;html&gt;some html&lt;/html&gt;`,
       providers: [someService],
       declarations: [someComponent]  //wanting to do this but I know I can't
  })
  </code></pre>
  
  <p>I do this already bring in outside components in a few places throughout the app, like parent/children communication with @ViewChild() so I get that. Just wondering if this is even possible without making the component I need access to in HTML globally available or if I have to create a module and import it like normal. Thanks!!</p>