title: karma-ng-html2js-preprocessor not working gulp + angular + karma + ng-html2js
body: <p>I can't make karma-ng-html2js-preprocessor working for external template.</p>
  
  <p>Package Json file:</p>
  
  <pre><code>    .....
      "gulp-karma": "*",
      "karma-coverage": "*",
      "karma-jasmine": "*",
      "karma-ng-html2js-preprocessor": "*",
      "karma-phantomjs-launcher": "*",
      .....
  </code></pre>
  
  <p>Karma config file:</p>
  
  <pre><code>    config.set({
          browsers: [
               ....
          ],
          frameworks: [
              'jasmine'
          ],
          plugins: [
              'karma-jasmine',
              'karma-phantomjs-launcher',
              'karma-ng-html2js-preprocessor'
          ],
          preprocessors: {
              'app/**/*.html': 'ng-html2js'
          },
          ngHtml2JsPreprocessor: {
              stripPrefix: 'app/'
          }
      });
  </code></pre>
  
  <p>Files are defined in Build file and passed to gulp-karma. Here are the defined files:</p>
  
  <pre><code>config = {  test: {
            configFile: '.../karma.conf.js',
            depends: [
                .......
            ],
            files: [
              "app/**/*.js",
              'app/**/*.html'
            ]
         }
      }
  </code></pre>
  
  <p>Loading template in my directive spec like below:</p>
  
  <pre><code>beforeEach(module('app'));
  beforeEach(module('app/tem/mytemp.html'));
  </code></pre>
  
  <p>I am getting the error below:</p>
  
  <pre><code>Error: [$injector:modulerr] Failed to instantiate module app/tem/mytemp.html due to:
  Error: [$injector:nomod] Module 'app/tem/mytemp.html' is not available! You either misspelled the
  </code></pre>
  
  <p>In karma debug.html html files are loaded in link tag output: </p>
  
  <pre><code>&lt;script type="text/javascript" src="/absoluteC:.../app/tem/comp/mydirective.js"&gt;&lt;/script&gt;
  &lt;link href="/absoluteC:..../app/tem/mytemp.html" rel="import"&gt;
  &lt;script type="text/javascript"&gt;
  window.__karma__.loaded();
  </code></pre>
  
  <p></p>
  
  <p>Am I missing anything? How do I debug and move forward from this issue?  </p>