Q. How do you define a route in Angular?
β
Correct Answer: (A)
{ path: 'home', component: HomeComponent }
Explanation: Angular routes are defined as objects with a path and component.