/angular-webpack

Angular + Webpack build with Karma tests support

Primary LanguageJavaScriptMIT LicenseMIT

angular-webpack

![Gitter](https://badges.gitter.im/Join Chat.svg)

Angular + Webpack build with Karma tests support

Install

git clone git@github.com:packetloop/angular-webpack.git
cd angular-webpack
npm install
npm run build

Then open index.html

To run tests

npm test

TODO

  • Build basic Angular app with webpack
  • Couple of dependent modules Hello and Blah
  • Controller, directive and service for Hello module
  • Tests for HelloService, mocking HelloHelloService and BlahService
  • Tests for <hello> directive mocking HelloService
  • Tests for HelloController mocking HelloService
  • npm test script with CI-friendly karma + webpack run
  • Separate HTML template for <hello> + webpack build
  • Separate CSS for <hello> + webpack build
  • Embed images
  • Coverage report
  • Multiple pages to load additional components asynchronously
  • Gulp + JSHint