List of Listings

 

Chapter 1. Introducing Angular

Listing 1.1. A module with one component

Listing 1.2. Structure of a sample component

Listing 1.3. Using the search component in the app component

Chapter 2. The main artifacts of an Angular app

Listing 2.1. product.component.ts

Listing 2.2. Iterating through products with *ngFor

Listing 2.3. A sample root module

Listing 2.4. Generating a project and a feature module

Listing 2.5. Generated feature module

Listing 2.6. Generated shipping component

Listing 2.7. Generated shipping module

Listing 2.8. Exporting a shipping component

Listing 2.9. Adding the shipping module to the root module

Listing 2.10. Adding a shipping component

Listing 2.11. Two events with handlers

Listing 2.12. Angular 5: Configuring two apps in .angular-cli.json

Listing 2.13. The AppComponent for the one-way binding sample

Listing 2.14. A two-way binding sample

Listing 2.15. Installing Bootstrap, jQuery, and Popper.js

Listing 2.16. Generating components for ngAuction

Listing 2.17. The AppComponent template

Listing 2.18. The navbar component template

Listing 2.19. The search component template

Listing 2.20. The footer component template

Listing 2.21. The carousel component template

Listing 2.22. carousel.component.css

Listing 2.23. The home component template

Listing 2.24. Configuring routes

Chapter 3. Router basics