I have some code I have been working on but I can't find anything on this on google. Basically I want to pass a number that represents an ID to my component to be used when it is instantiated.
I don't know what to try tbh
<div class="row">
<div class = "col-xs-12">
<app-server *ngFor = "let server of servers"></app-server>
</div>
</div>
The constructor or ngOnInit will be passed a parameter that is a number.