Q. How can you pass static data to a route in Angular routing?

  • (A) Using data property in route configuration
  • (B) Using query parameters
  • (C) Using @Input decorator
  • (D) Using services
πŸ’¬ Discuss
βœ… Correct Answer: (A) Using data property in route configuration
Explanation: Static data can be passed using the 'data' property inside routes.
Explanation by: Mr. Dubey
Static data can be passed using the 'data' property inside routes.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
98
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
98%
Success Rate