title: Not all typescript files compile to js using atom-typescript
body: <p>I'm following a tutorial to build routing in Angular2 <a href="https://www.youtube.com/watch?t=10&amp;v=ZsGRiHSaOxM" rel="nofollow">https://www.youtube.com/watch?t=10&amp;v=ZsGRiHSaOxM</a> It shows partial pages built with .ts and in each case a companion .js file.  My Atom editor with atom-typescript compiles my app.ts file to app.js as I change it, but my partial pages in another directory do not compile, as best I can tell.  </p>
  
  <p>When the file is homePage.ts, the console error is - cannot find homePage.js  When the file is homePage.js, the console error is - unexpected token @ on line (where @Component is).  I have   "compileOnSave ": true in my tsconfig, and that file is in the top level project directory.</p>
  
  <p>I tried putting fileGlob in tsconfig, from the documentation, as follows</p>
  
  <pre><code>"filesGlob": [
      "./**/*.ts",
      "!./node_modules/**/*.ts"
  ],
  </code></pre>
  
  <p>Nothing changed.</p>
  
  <p>My compilerOptions are:</p>
  
  <pre><code>"compilerOptions": {
      "charset": " UTF-8",
      "declaration": false,
      "diagnostics": true,
      "emitDecoratorMetadata": true,
      "module": "commonjs",
      "noImplicitAny": false,
      "noLib": false,
      "removeComments": true,
      "sourceMap": true,
      "target": "es5",
      "version": true
  },
  </code></pre>
  
  <p>Do I need both .ts and .js files for all components, and if so, how do I make that happen with atom-typescript?  Or why do I get the unexpected token @ error?  </p>