Show error when dependency injection fails when instantiating controllers.