1Introduction
- 1.1About PIRACY
- 1.2Support
- 1.3Source Code
- 1.4Installation
- 1.4.1Visual Studio Code Extensions
- 1.5The Backend (server)
2Hello Angular
- 2.1Installation
- 2.2Create a Workspace and Initial Application
- 2.3The Angular Dev Tools
- 2.4The Angular Material
- 2.5It’s Time to Commit the Project (optional)
- 2.6Let’s Add a Remote Repository (optional)
- 2.7Lets Open Project at Visual Studio Code
- 2.8What About the Module?
3The Beginning
- 3.1Lets Clean !
- 3.2The Material Components
- 3.3Adding Schematics
- 3.4Adding a Navigation in your Application
- 3.5Adding the Home Component to App
- 3.6Changing the Home
- 3.7Components
- 3.8Typescript and Interfaces
- 3.9Categories Component
- 3.10Routes
- 3.11Making a Dashboard
4Categories
- 4.1The Angular Material Card
- 4.2Adding a Global Css Style
- 4.3More Margin/spacing Styles (optional)
- 4.4Getting Data From the Category API
- 4.5Configuring HttpClient
- 4.6Services
- 4.7The Category Service
- 4.8First Version of GetAll() Method
- 4.9Environment Variables
- 4.10Setting the API Return Type
- 4.11Final Version of GetAll() Method
- 4.12Using the MatTable to Display Categories
- 4.13Adding the Description Column
- 4.14New Category
- 4.15Create a Category Form
- 4.16Creating a Category Form
- 4.17Creating a Reactive Form
- 4.18Adding the Description Field
- 4.19Creating Responsive Forms: the CSS FlexBox Layout
- 4.20Validation
- 4.21Setting Up Error Messages
- 4.22Submit Form
- 4.23Reviewing Some Angular Patterns
- 4.24Controlling the Visibility of the Form
- 4.25Creating a Back Button On the Form
- 4.26Event Binding
- 4.27Passing Form Data Through Events
- 4.28Type Conversion
- 4.29Saving the Category
- 4.30Editing the Category
- 4.31Fix a Little Bug
- 4.32Deleting a Category
- 4.33What We Learned in This Chapter
- 4.34Differences From Angular 14..15..16
5Refactoring Categories
- 5.1Adding Loading While Requesting Server
- 5.2How See the Loading Working
- 5.3Skip Testes and Css File Creation in the Angular.json Config File
- 5.4Its Time to Deploy! (optional)
- 5.5The “Material Module”
6Supplier
- 6.1Create the Suppliers Components
- 6.2Using Routes and Sub Routes
- 6.3Supplier DTO
- 6.4Suppliers Service
- 6.5Listing Suppliers
- 6.6Creating a New Component
- 6.7Displaying a Message If @for is Empty
- 6.8Configuring Routes
- 6.9Showing a Supplier
- 6.10Edit a Supplier
- 6.11Supplier Form
- 6.12Adding the Form in the SuppliersEditComponent
- 6.13Delete Supplier
- 6.14New Supplier
- 6.15Conclusion
7Products
- 7.1Initial Files
- 7.2The Products Service
- 7.3Product Listing
- 7.4Add Product to Cart
- 7.5The “AddToCart” Button
- 7.6Creating the Cart Icon
- 7.7Add a Checkout Page
8Dynamic File and Component Loading
- 8.1Deferrable Views
- 8.1.1Example
- 8.1.2Extracting the Component
- 8.1.3Using @defer
- 8.1.4Using @viewport, @placeholder, and @loading
- 8.2Strategies to make the application even smaller
9Version 18
- 9.1Updating the Angular Cli
- 9.2Updating our project to version 18
- 9.2.1Configuring git
- 9.2.2Configuring the Update Guide
- 9.2.3Updating Angular Core
- 9.2.4Updating Angular Material
- 9.2.5Other References from the Update Guide
- 9.2.6Verifying the Project in the New Version
- 9.2.7Updating the Main Branch
- 9.3Conclusion
10Update to version 19
- 10.1Updating the Angular Cli
- 10.2Updating our project to version 19
- 10.3Project update
- 10.3.1Verifying the Project in the New Version
- 10.3.2Updating the Main Branch
- 10.4Fixing warnings