Scenario We have this TodoComponent and we want to initalize the @Input properties using values provided via the Route path.. import { Component, Input, OnInit } from '@angular/core';
import { CommonModule } from '@angular/common';
@Component({
selector: 'app-todo',
standalone: true,
imports: [CommonModule],
template: `<h1>Todo with Router Parameters</h1>…