I've got an HTML template (from themeforest) which has lots of jQuery plugins and a main.js where all of them are instantiated and configured for the template. I'm creating an AngularJS application based on that template, and i'm using RequireJS to load my scripts. In the index.html of the template, I load my require-config.js file. 80% of the times, the app loads just fine, but the other 20%, an error appears like "jQuery is not a function" or "$(...).mmenu is not a function". Here are my files. Can someone figure out what am I doing wrong?I've got an HTML template (from themeforest) wh