Question: What is the RouterModule.forRoot method used for?

  1. Registering any providers that you intend to use in routed components.
  2. Registering route definitions at the root application level.
  3. Indicating that Angular should cheer on your routes to be successful.
  4. Declaring that you intend to use routing only at the root level.

Answer: The correct answer of the above question is Option B:Registering route definitions at the root application level.