kennethlynne/generator-angular-xl

View on GitHub
provider/index.js

Summary

Maintainability
A
0 mins
Test Coverage
'use strict';
var util = require('util');
var ScriptBase = require('../script-base.js');


var Generator = module.exports = function Generator() {
  ScriptBase.apply(this, arguments);
};

util.inherits(Generator, ScriptBase);

Generator.prototype.createServiceFiles = function createServiceFiles() {
  this.generateSourceAndTest(
    'service/provider',
    'spec/service',
    'providers/',
    '../unit/spec/providers/'
  );
};