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

Pass Observables into Components with Async Pipe

Pass Observables into Components with Async Pipe

3:09
The components inside of your container components can easily accept Observables. You simply define your custom @Input then use the Async pipe when you pass the Observable in. This lesson walks you through the process of passing an Observable into a Component.
Watch this lesson now
Avatar
egghead.io

The components inside of your container components can easily accept Observables. You simply define your custom @Input then use the Async pipe when you pass the Observable in. This lesson walks you through the process of passing an Observable into a Component.

Avatar
Evgeny

The directive property has been removed in RC6 from the @Component() decorator.

The solution for this is to:
- create a NgModule and
- declare the ClockComponent inside the declarations: [] array.

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