R

Ram Sharma • 3.40K Points
Extraordinary

Q. Which file is used to declare routes in Angular?

  • (A) app.component.ts
  • (B) routes.ts
  • (C) app-routing.module.ts
  • (D) main.ts
  • Correct Answer - Option(C)
  • Views: 17
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Ram Sharma
Routes are typically defined in a separate module named `app-routing.module.ts`.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.