In this chapter, we will discuss different techniques and strategies for working with Angular components:
- Initializing and configuring components
- Building with components
- Component life cycle
- Sharing data and communicating between components
The chapter assumes that the reader has knowledge of JavaScript and TypeScript programming fundamentals and web development in general, and is familiar with the contents of Chapter 1, Architectural Overview and Building a Simple App in Angular, from this book. All the examples from this chapter use TypeScript and can also be found on GitHub, at https://github.com/popalexandruvasile/mastering-angular2/tree/master/Chapter4.
A telling sign of a successful open source project is excellent documentation, and Angular is no exception to this rule. I strongly recommend reading through all the available documentation from...