1. What is the main purpose of Angular services?
- Define UI layout
- Share data and logic across components
- Handle routing only
- Manage templates
Reveal sample answer and explanation
Answer: Share data and logic across components
Services are used to share reusable business logic and data.