title: typescript compile outputting "import" when targeting ES5
body: <p>I've started a simple repo to test <strong>angularjs 1.6</strong>. However i seem to be having issues outputting es5 code, which can run without systemjs, node webpack etc. <em>i.e. converting the exports and define and imports statements</em></p>
  
  <p>//   The following app.ts</p>
  
  <pre><code>import * as angular from 'angular'
  import * as ng from 'angular'
  "use strict";
  
  module ngTypescript{
      angular.module('ngTypescript',[]).run(($rootScope:ng.IRootScopeService) =&gt;{
          console.log($rootScope.$id);         
      });
  }
  </code></pre>
  
  <p>//outputs app.js</p>
  
  <pre><code>import * as angular from 'angular';
  "use strict";
  var ngTypescript;
  (function (ngTypescript) {
      angular.module('ngTypescript', []).run(function ($rootScope) {
          console.log($rootScope.$id);
      });
  })(ngTypescript || (ngTypescript = {}));
  //# sourceMappingURL=app.js.map
  </code></pre>
  
  <p><strong>no compile errors</strong> but <strong>when running</strong> from a simple html page (no node) i get the following error</p>
  
  <pre><code>Uncaught SyntaxError: Unexpected token import
  </code></pre>
  
  <p>//tsconfig.json</p>
  
  <pre><code>{
        "compilerOptions": {
          "target": "es5",
          "module": "es2015",
          "moduleResolution": "classic",
          "sourceMap": true,
          "emitDecoratorMetadata": true,
          "experimentalDecorators": true,
          "lib": [ "es6", "dom" ],
          "noImplicitAny": true,
          "removeComments": true,
          "preserveConstEnums": true,
          "allowUnreachableCode": true
        },
          "exclude": [
              "node_modules/*"
          ]
      }
  </code></pre>
  
  <p>I need the outputted js to run in an environment without support for exports or imports. i.e not behind node, or using systemjs or webpack.</p>
  
  <p><a href="https://github.com/tbertenshaw/ngTypescript" rel="noreferrer">the sample repo is here</a></p>