I know that we use @Input decorator to pass the values from parent component to the child component.
But, I am wondering instead of doing this, if we can create an instance of the Parent class in the constructor(Dependency Injection) and then get the variable value as instance.variable. Will it not be the same?
Help would be much appreciated.