A

Admin • 833.24K Points
Coach

Q. What is the primary purpose of a Service in Angular?

  • (A) Share data and logic between components
  • (B) Define templates
  • (C) Handle routing
  • (D) Define styles
  • Correct Answer - Option(A)
  • Views: 32
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin

Services are used to encapsulate business logic and data.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.