How to inject jQuery into an Angular 1.5 component
<p>I was wondering how to inject jquery into a component. For example</p>

<p><strong>In my webpack.conf file:</strong>        </p>

<pre><code> new webpack.ProvidePlugin({
  $: "jquery",
  jQuery: "jquery",
  "window.jQuery": "jquery"
 })
</code></pre>

<p><strong>In my component file:</strong></p>

<pre><code>module.exports = {
 templateUrl: 'app/example.html',
 controller: ['$', exampleController]
};

function exampleController(){
 console.log('exampleController');
};
</code></pre>

<p><strong>Stack: Angular 1.5, JavaScript, NPM and Webpack</strong></p>