Yesterday I needed a way to load self-contained code units into my AngularJS app. I’ve had this problem before and tried using Bower.io and Grunt.js to solve it. It was messy. Then I discovered Webpack!
Combined with ocLazyLoad and Webpack’s chunking feature, I finally have a decent solution to creating completely modular Angular components.