0.1.0 • Published 10 years ago

gulp-angular-inject-module v0.1.0

Weekly downloads
74
License
MIT
Repository
github
Last release
10 years ago

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.