I am using Webpack in my AngularJS project and when I try to load angular-clipboard I get the following error:
ERROR in ./assets/libs/angular-clipboard/angular-clipboard.js
Module not found: Error: Cannot resolve module 'angular' in C:\...\assets\libs\angular-clipboard
 @ ./assets/libs/angular-clipboard/angular-clipboard.js 4:8-36
Previously I was loading it like this:
require('./assets/libs/angular/angular.js');
My webpack.config.js looks like this:
module.exports = {
    entry: './entry.js',
    output: {
        path: __dirname,
        filename: 'bundle.js'
    },
    module: {
        loaders: [
            { test: /\.css$/, loader: 'style-loader!css-loader' },
            { test: /\.(png|woff|woff2|eot|ttf|svg)$/, loader: 'url-loader?limit=100000' },
            { test: /\.less$/, loader: 'style-loader!css-loader!less-loader' }
        ]
    }
};
 
    