Your unknown provider name is probably being manipulated/mangled by the minifier, thus you need to use the following syntax to correct it:
myApp.controller('MyCtrl' ['$scope', function ($scope) {
// do stuff with '$scope'
}]);
Note how the function is wrapped in an Array, this keeps the naming conventions of your dependencies so they can safely be remapped as Strings are not mangled:
myApp.controller('MyCtrl' ['$scope', function (a) {
// do stuff with 'a'
}]);
Which you can then add your other dependencies (they need to appear in the order as they're specified):
myApp.controller('MyCtrl' ['$scope', 'MyService', function ($scope, MyService) {
// do stuff...
}]);
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…