I have a child component that I am showing multiple samples of them in a parent component as: parent.html: <app-parent> @for (item of Items; track item; let index = $index) { <app-child [id]="index" [weatherStatus]="weather"> </app-child> } </app-parent> parent.ts //for first child this.weather = "sunny" //for second child this.weather = "cloudy" //for third child this.weather = "rainy" child.ts: @Input() weatherStatus = ''; ngOnChanges(changes: SimpleChanges) { if (changes['weatherStatus']) console.log('Input data changed:', this.weatherStatus); } child.html <p> Today's weather: {{weatherStatus}} </p> I am using @Input() decorator to pass some data from parent to child. Currently when I send a data from parent, all of the child components get the same value. But I want to send a specific value for each child. For example, if I have three children, the value "sunny" be sent to the first child, "cloudy" to the second and "rainy" to the third one. What is the best approach to do it? Continue reading...