Jquery scripts in angularjs project
问题 I am working on angularjs project that I generated using yeoman angular generator. I have a jQuery function that I need to use in most of my html views. A possible solution is to add this function to a script.js file for example, and add this file as reference in the html views that require this function. However, I don't think this solution is good. When yeoman generates an angularjs project, in its index.html file, it adds a section <!-- build:js({.tmp,app}) scripts/scripts.js --> within