Course lesson
Simplify an Angular Service using a JavaScript Object as a Value Provider
Often it might be simply easier to create the implementation out of a simple JavaScript object rather than a full blown class. That’s where value providers come in play!
- Duration
- 1 min
- Access
- Pro
- Transcript
- Available
Often it might be simply easier to create the implementation out of a simple JavaScript object rather than a full blown class. That’s where value providers come in play!