title: gulp-inject is giving wrong relative path
body: <p>I've been having trouble with this useful tool and I don't know what to do anymore, that's why I come here to ask for your help.</p>
  
  <p>This is my directory structure:</p>
  
  <pre><code> - Project root
   |-  dist
       |-css
       |-js
  
   |-  source
       |- css
       |- js
       |-index.html
  
   |-gulpfile.js
   |-index.html 
  </code></pre>
  
  <p>So, I'm using gulp to inject my css,js from the source folder, into my dist folder, minified, concatenated, etc. Then, inject that into my index.html in the source folder and spit in on the project root folder.
  This is the code:</p>
  
  <pre><code>//Injects assets (css,js) into index.html automatically
  gulp.task('inject',['sass','concat-css','concat-js'],function(){
      //Target to inject
      var target = gulp.src('source/index.html');
  
  
      //Sources to be injected
  
      var cssFiles = gulp.src('./dist/assets/css/*.css',{read:false});
      var jsFiles = gulp.src('./dist/assets/js/*.js',{read:false});
      //Merge resources into one
      var sources = es.merge(cssFiles,jsFiles);
  
  
      //Injecting bower.json dependencies and other resources
  
      return target.pipe(inject(sources),{
         ignorePath:'dist/',
          addRootSlash:false
      })
          .pipe(wiredep({ignorePath:'../'}))
          .pipe(gulp.dest('./'));
  
     });
  </code></pre>
  
  <p>The issue is that the path to the dist folder on the index.html is like this:</p>
  
  <pre><code>"/dist/css/stylesheet.css"
  </code></pre>
  
  <p>Causing error, because it should be : `"dist/css/stylesheet.css"</p>
  
  <p>As you can see in the code, I've used the inject's options, ignorePath, addRootSlash, relative:true , and nothing seems to work. The same thing was happening to wiredep, but this one is accepting the ignorePath options so everything is fine.</p>
  
  <p>Thanks in advance for your help.</p>