Yeoman comes standard with this line in the index.html file
1 | <!-- build:js({.tmp,app}) scripts/scripts.js --> |
If you are running grunt build and useminPrepare was not building that script.js file, check that the script files all exist and are the right case.
I also removed debuggers.