Outline

In this exercise...

you will put everything together we have learned so far and put together an application that makes several kinds of requests to a RESTful server.

Directions:

In the project linked below:

  • Gather data for the rental list
    • Do or don't use the async pipe. It's up to you.
  • Implement adding items to the rental list when "Rent" is clicked
    • Hint: The Rental List is a copy of the movie
      • So change the flop.id to undefined
    • How will you update the local data?
  • Implement deleting items from the rental list
    • How will you update the local data?

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

 

I finished! On to the next chapter