I have the following code, on compile I run through ngAnnotate and uglify
angular.bootstrap(navWrap, ['my.navbar']);
Now I know this is a little unconventional but it works when not minified. However, when I try to minify it causes a provider not found exception.
this is a similar question only its suggestion to use ngMin (ngAnnotate) I am already doing. If I turn off mangling then everything works but this seems like a bad idea.
If I simply change to the ng-app in the tag it works fine. Any ideas?