While the app works in debug mode, when release mode switches on .NET bundles, I get the Unknown Provider error. The problem is there many sources (Bootstrap UI and other third-party controls besides application scripts). I fixed a couple of obvious initializers, but this error seems to refer to minified code, generic names:
http://errors.angularjs.org/1.2.21/$injector/unpr?p0=nProvider%20%3C-%20n
How do you troubleshoot something like that?