R

Ram Sharma • 3.40K Points
Extraordinary

Q. Which command creates a routing-enabled Angular app?

  • (A) ng new app-name
  • (B) ng new app-name --routing
  • (C) ng g app --routing
  • (D) ng install app --routing
  • Correct Answer - Option(B)
  • Views: 16
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Ram Sharma
Use `--routing` flag to include routing module during app creation.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.