title: Gulp usemin exclude files
body: <p>Let's have index.html</p>
  
  <pre><code>&lt;!-- build:js js/lib.js --&gt;
  &lt;script src="../lib/angular-min.js"&gt;&lt;/script&gt;
  &lt;script src="../lib/angular-animate-min.js"&gt;&lt;/script&gt;
  &lt;!-- endbuild --&gt;
  
  &lt;!-- build:js1 js/app.js --&gt;
  &lt;script src="js/app.js"&gt;&lt;/script&gt;
  &lt;script src="js/controllers/thing-controller.js"&gt;&lt;/script&gt;
  &lt;script src="js/models/thing-model.js"&gt;&lt;/script&gt;
  &lt;script src="js/views/thing-view.js"&gt;&lt;/script&gt;
  &lt;!-- endbuild --&gt;
  </code></pre>
  
  <p>On the output we will have 2 files in <code>js</code> directory: <code>lib.js</code> and <code>app.js</code></p>
  
  <p>For <code>usemin</code> code from this files I'm using this task:</p>
  
  <pre><code>return gulp.src(config.src.html.index)
      .pipe(usemin({
          css: [rev],
          html: [function () {
              return minifyHtml({empty: true});
          }],
          js: [ngAnnotate, uglify, rev],
          inlinejs: [uglify],
          inlinecss: [minifyCss, 'concat']
      }))
      .pipe(gulp.dest(config.build.root));
  </code></pre>
  
  <p>This task also runs ngAnnotate, uglify tasks for <code>lib.js</code> it takes a long time to make all this thigs working. I need to runn only these tasks for all files which will be in <code>app.js</code> file.</p>
  
  <p>How to exclude library files from this addtional tasks ?</p>