The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Injecting a service into a component

Injecting a service into a component

3:07
This lesson explains how we can inject simple service dependencies into Angular 2 components using providers. We’ll also discuss what providers are and why they are needed.
Watch this lesson now
Avatar
egghead.io

This lesson explains how we can inject simple service dependencies into Angular 2 components using providers. We’ll also discuss what providers are and why they are needed.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?