I use @Input() to pass an ID from another component, but I initialize the ID with a number like this:
@Input() ServiceId: number=21;
How can I initialize the input with that number from the initial component? Do I directly assign a variable to @Input()?