Fixed dependency injection due to non array declaration of the main controller.