code: function () {
      return gulp.src(paths.admin.partials)
        .pipe(minifyHtml({
          empty: true,
          spare: true,
          quotes: true
        }))
        .pipe(ngHtml2Js({
          moduleName: function (file) {
            var pathParts = file.path.split('/');
            var folder = pathParts[pathParts.length - 2];
            return folder.replace(/-[a-z]/g, function (match) {
              return match.substr(1).toUpperCase();
            });
          }
        }))
        .pipe(concat('partials.js'))
        .pipe(gulp.dest(paths.admin.build));
    }
docs: /*
  Pre-load angular templates