Chapter 5. Bindings, observables, and pipes

This chapter covers

  • Working with flavors of data binding
  • Binding to attributes vs. properties
  • Understanding observable data streams
  • Treating events as observable data streams
  • Minimizing network load by canceling unwanted HTTP requests
  • Minimizing manual coding with pipes

The goal of the first four chapters of this book was to jump-start application development with Angular. In those chapters, we discussed how to use property bindings, handle events, and apply directives without providing detailed explanations. In this chapter, we want to take a breather and cover some of these techniques in more detail. You’ll continue writing code in TypeScript, and you’ll see an example of using destructuring ...

Get Angular 2 Development with TypeScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.