Deprecated in favor of gulp-ng-annotate. Reasoning.
gulp-ngmin
Pre-minify AngularJS apps with ngmin
Issues with the output should be reported on the ngmin issue tracker.
$ npm install --save-dev gulp-ngmin
var gulp = require('gulp');
var ngmin = require('gulp-ngmin');
gulp.task('default', function () {
return gulp.src('src/app.js')
.pipe(ngmin({dynamic: true}))
.pipe(gulp.dest('dist'));
});
Type: boolean
Default: false
Enables the dynamic mode.