Q. What is the use of the `environment.ts` file in Angular?

  • (A) Stores environment-specific configurations
  • (B) Manages route guards
  • (C) Holds app metadata
  • (D) Declares component styles
πŸ’¬ Discuss
βœ… Correct Answer: (A) Stores environment-specific configurations
Explanation: The `environment.ts` file is used to store variables for development or production environments.
Explanation by: Mr. Dubey
The `environment.ts` file is used to store variables for development or production environments.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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