Inject the request or app to a controller based on the argument name