Inject dependencies in controller instead of using the service locator in the controller