Angular
Fundamentals of Angular - Communicating with a Server

Exercise: Work with an Observable

Outline

In this exercise...

you will practice binding to styles.

Directions:

In the projects linked below:

Exercise 1:

  1. Log out the actor's name from the oActor observable
    1. Modify the data in the stream before the subscribe
  2. Set the name property of the component to the data in the Name observable
  3. Get the flops out of the oFlops observable and get them to display on the screen
    1. Hint: look in the app.component.html for what is needed

Exercise 2:

  1. Fix the app component. Get the watchlist displaying in the application.

Exercise 1: https://stackblitz.com/fork/angular-w74rsj?file=src%2Fapp%2Fapp.component.ts

Exercise 2: https://stackblitz.com/fork/angular-xt23hw?file=src%2Fapp%2Fapp.component.ts

 

I finished! On to the next chapter