title: Karma throws "Uncaught SyntaxError: Unexpected token :" for Angular and JQuery Map file
body: <p>I am trying to write Unit Tests using karma. My application has a dependency on Angular and JQuery that I have installed via bower </p>
  
  <pre><code>"dependencies": {
       .....
       "angular": "1.2.16",
       .....
       "jquery": "~1.11.2",
       .....
  }
  </code></pre>
  
  <p>Here AngularJS and JQuery are bundled with .map file which contains some set of key-value pair. To load these map files into Karma, I found out a plugin called <code>karma-sourcemap-loader</code>. I have used the following configuration for karma i.e. karma.conf.js</p>
  
  <pre><code>  files: [
          {pattern: 'vendor/jquery/dist/jquery.min.js',included:true},
          {pattern: 'vendor/jquery/dist/jquery.min.map',watched: true, served: true, included: true},
          {pattern: 'vendor/angular/angular.min.js',included:true},
          {pattern: 'vendor/angular/angular.min.js.map',watched: true, served: true, included: true},
          ......
      ],
    preprocessors: {
         '**/*.js': ['sourcemap']
    },
  </code></pre>
  
  <p>When I checked up with chrome, the console has printed out the following error
  <br><code>Resource interpreted as Script but transferred with MIME type text/plain: "http://localhost:9876/base/vendor/angular/angular.min.js.map?5ff6288d0408a1b41c74b7bd7541d68865d1e3f9</code></p>
  
  <p>On Console it shows up<br>
  <code>Uncaught SyntaxError: Unexpected token :</code> for Chrome</p>
  
  <p><code>SyntaxError: Parse error</code> for PhantomJS</p>
  
  <p>Also I am using RequireJS to import files. Can anybody please help me by providing a proper way to include map files in karma ?</p>