I'm eager to understand how to incorporate jQuery into a component. Take for instance
Within my webpack configuration file:
new webpack.ProvidePlugin({
$: "jquery",
jQuery: "jquery",
"window.jQuery": "jquery"
})
In the file of my component:
module.exports = {
templateUrl: 'app/example.html',
controller: ['$', exampleController]
};
function exampleController(){
console.log('exampleController');
};
Technology Stack: Angular 1.5, JavaScript, NPM and Webpack