gulp-angular-inject-module

0.1.0 • Public • Published

gulp-angular-inject-module Build Status

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.

Package Sidebar

Install

npm i gulp-angular-inject-module

Weekly Downloads

6

Version

0.1.0

License

MIT

Last publish

Collaborators

  • alexsedeke