I was recently converting an AngularJS app to use Browserify, and at the same time, I was switching from Mimosa to Gulp as my build system.
After dealing with many other little issues, I was left with a few problems:
I kept getting the following error in my index.html when using ng-switch and ng-switch-when:
Error: [$compile:ctreq] Controller 'ngSwitch', required by directive 'ngSwitchWhen', can't be found!
ng-include was not working for me (no error messages, just nothing got included and no network requests were issued).
The code in one of my custom attributes was never being called, even though it was clearly part of the HTML tag in my original index.html file.
I spent a lot of time trying various things to see what the problem might be, but eventually tracked it down as described in my answer below.