Injecting  to the controller.