Q. What is a guard in Angular?

  • (A) A function used to control route access
  • (B) A component method
  • (C) An HTTP interceptor
  • (D) A pipe for transforming values
πŸ’¬ Discuss
βœ… Correct Answer: (A) A function used to control route access
Explanation: Guards determine whether or not navigation is allowed.
Explanation by: Mr. Dubey
Guards determine whether or not navigation is allowed.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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