2.0.25 • Published 8 years ago

ngrequire-webpack-plugin v2.0.25

Weekly downloads
18
License
MIT
Repository
github
Last release
8 years ago

ngrequire-webpack-plugin

Build Status Coverage Status Dependency Status

A webpack plugin to handle Angular module dependencies

#Example With configuration of new ngRequirePlugin([ './**/*.js' ])

./a.js

angular.module('a', [])
  .factory('test', function(){
  });

./b.js

angular.module('b', [])
  .controller('controllerB', function (test) {
    // Module 'a' will be automatically required.
    // And 'test' factory will also be the injected
  })

#Usage

For more detailed usage please see ./test

var ngRequirePlugin = require('ngrequire-webpack-plugin');

{
  plugins: [
    new ngRequirePlugin(['file path list for your angular modules. eg: src/**/*.js'])
  ]
}
2.0.25

8 years ago

2.0.24

9 years ago

2.0.23

9 years ago

2.0.22

9 years ago

2.0.21

9 years ago

2.0.20

9 years ago

2.0.19

9 years ago

2.0.18

9 years ago

2.0.17

9 years ago

2.0.15

9 years ago

2.0.14

9 years ago

2.0.13

9 years ago

2.0.12

9 years ago