33 lines
844 B
Markdown
33 lines
844 B
Markdown
# Week 4 – Day 2: Angular Services & Dependency Injection
|
||
|
||
## Date
|
||
06 January 2026
|
||
|
||
## Objective
|
||
To learn how to use Angular services for shared logic and understand Dependency Injection for better application design.
|
||
|
||
## Topics Covered
|
||
- Introduction to Angular Services
|
||
- Creating Services using Angular CLI
|
||
- Dependency Injection (DI)
|
||
- Sharing Data Across Components
|
||
- Service Lifecycle
|
||
|
||
## Activities Performed
|
||
- Created custom Angular services
|
||
- Injected services into components
|
||
- Implemented reusable business logic
|
||
- Shared data between multiple components
|
||
- Understood how Angular manages dependencies internally
|
||
|
||
## Tools & Technologies Used
|
||
- Angular
|
||
- TypeScript
|
||
- Angular CLI
|
||
|
||
## Learning Outcome
|
||
Learned how to separate business logic from UI logic using services and effectively use dependency injection.
|
||
|
||
## Status
|
||
Completed
|