I\'ve followed all the instructions I can find for fixing minification, e.g.
var MyController = function(renamed$scope, renamedGreeter) { ... } MyController.$inj
Remember, to also use DI on controllers within directives. Took me hours... CS example:
wrong:
controller: ($scope) -> $scope.closeModal = -> ModalService.close()
right:
controller: ["$scope" ($scope) -> $scope.closeModal = -> ModalService.close() ]