Summary
In this chapter, we took advantage of asynchronous programming with Angular by using Observable
and Promise
.
More specifically, we learned how to implement the Observable
pattern in typescript
, and then took advantage of the Angular framework, while still using the Observable
characteristics.
Also, we saw how to take advantage of Promises
in Angular and built a basic, yet extensible JSON API for querying the Marvel Cinematic Universe.
In the next chapter, we will build upon this example to create advanced forms. Indeed, we will create what's required to add, remove, and update movies of the Marvel Cinematic Universe. In addition, we will also learn about FormBuilder, control groups, and custom validations.