unknown provider eProvider

Developer from somewhere

After minification, I received the error “unknown provider eProvider”. The solution was to switch from something like this:

controller: ($scope) ->
  $scope.closeModal = ->
    ModalService.close()

to something like this:

controller: ["$scope"
  ($scope) ->
    $scope.closeModal = ->
      ModalService.close()
]

I found the solution here