Deprecated in favor of gulp-ng-annotate. Reasoning.
gulp-ngmin ![Build Status](https://camo.githubusercontent.com/68ef001ae00897e7e7aedf6a38269dcd2bf9920a9ac19b5868ea301685b6e81f/68747470733a2f2f7472617669732d63692e6f72672f73696e647265736f726875732f67756c702d6e676d696e2e7376673f6272616e63683d6d6173746572)
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.