adds inject to controllers