Just for some brief background, angular by default will load it’s own jquery spinoff jqlite for DOM queries and manipulations, unless it sees jquery in which case it’ll use that instead. From the angular docs:
To use jQuery, simply load it before DOMContentLoaded event fired.
Recently I converted over my angular application to use webpack and this is one of the only things left I’ve been unable to solve. I haven’t found a way to have webpack load jquery prior to angular or prior to DOMContentLoaded for it to default to jquery. For the moment I’m just using $() to explicitly call jquery where I need to rather than relying on angular.element() which will fall back to jqlite. I was hoping the authors or any other heavy users of webpack would have some insight here as I’ve been unable to make this work on my own. Thanks.