gulp-angular-inject-module
v0.1.0
Published
Add module as dependency Injection to a other.
Downloads
30
Maintainers
Readme
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.