0.1.0 • Published 10 years ago
gulp-angular-inject-module v0.1.0
gulp-angular-inject-module
Add module as dependency Injection to a other.
Install
$ npm install --save-dev gulp-angular-inject-module
Usage
var gulp = require('gulp');
var ngInject = require('gulp-angular-inject-module');
gulp.task('default', function () {
return gulp.src('src/*.scss')
.pipe(ngInject({file: 'app.js', module: 'templates'}))
.pipe(gulp.dest('dist'));
});
Options
file: The file name with relative path to the angular module where to inject. module: The name of the module to be injected.
0.1.0
10 years ago