0.0.1 • Published 10 years ago
gulp-angular-cloak v0.0.1
gulp-angular-cloak
Add
ng-cloak
automatically
Install
Install with npm
npm install --save gulp-angular-cloak
Usage
var gulp = require('gulp');
var ngCloak = require('gulp-angular-cloak');
//simple usage
gulp.task('htmlify', function() {
gulp.src('public/**/*.html')
.pipe(ngCloak())
.pipe(gulp.dest('build/'));
});
//using jade as a pre-processer
gulp.task('htmlify', function() {
gulp.src('partials/**/*.jade')
.pipe(jade())
.pipe(ngCloak())
.pipe(gulp.dest('build/'));
});
License
MIT @c4605
0.0.1
10 years ago