Preface Chapter 1: Getting Started Angular basics The component pattern Using the component pattern in web applications Why weren't components used before in Angular? What's new that enables Angular to use this pattern? Web Components Angular and Web Components Language support in Angular ES2015 TypeScript Putting it all together Angular modules The basic steps to building Angular applications The customary Hello Angular app - Guess the Number! Setting up a development server Building Guess the Number! Designing our first component The host file An HTML page Script tags Custom elements The component file The import statement Decorators Defining the class The module file Bootstrapping We're up-and-running! Digging deeper Interpolation Tracking changes in the number of tries Expressions The safe navigation operator Data binding Property binding Event binding Structural directives Revisiting our app Looking at how our code handles updates Maintaining the state Component as the container for the state Change detection Initializing the app Loading the modules needed by our application Bootstrapping our app Tools Resources Summary Chapter 2: Building Our First App - 7 Minute Workout What is 7 Minute Workout? Downloading the code base Setting up the build The build internals Code transpiling Organizing code The 7 Minute Workout model App bootstrapping App loading with SystemJS Our first component - WorkoutRunnerComponent Component life cycle hooks Building the 7 Minute Workout view The Angular 2 binding infrastructure Interpolations Property binding Property versus attribute Property binding continued Quick expression evaluation Side-effect-free binding expressions Angular directives Target selection for binding Attribute binding Style and class binding Attribute directives Styling HTML with ngClass and ngStyle Exploring Angular modules …… Chapter 3: More Angular 2 - SPA, Routing, and Data Flows in Depth Chapter 4: Personal Trainer Chapter 5: Supporting Server Data Persistence Chapter 6: Angular 2 Directives in Depth Chapter 7: Testing Personal Trainer Chapter 8: Some Practical Scenarios Index