Conditionally use injection in component I have my component DummyInput that used across the application in a lot of scenarios.