Learning Angular - Fifth Edition

by Aristeidis Bampakos

Programming

Book Details

Book Title

Learning Angular - Fifth Edition

Author

Aristeidis Bampakos

Publisher

Packt Publishing

Publication Date

2025

ISBN

9781835087480

Number of Pages

487

Language

English

Format

PDF

File Size

3.6MB

Subject

frontend-frameworks - angular

Table of Contents

  • Cover
  • Copyright Page
  • Contributors
  • Forewords
  • Table of Contents
  • Preface
  • Chapter 1: Building Your First Angular Application
  • Technical requirements
  • What is Angular?
  • Why choose Angular?
  • Setting up the Angular CLI workspace
  • The structure of an Angular application
  • Angular tooling
  • Summary
  • Chapter 2: Introduction to TypeScript
  • Technical requirements
  • JavaScript essentials
  • What is TypeScript?
  • Getting started with TypeScript
  • Chapter 3: Structuring User Interfaces with Components
  • Technical requirements
  • Creating our first component
  • Interacting with the template
  • Component inter-communication
  • Encapsulating CSS styling
  • Deciding on a change detection strategy
  • Introducing the component lifecycle
  • Summary
  • Chapter 4: Enriching Applications Using Pipes and Directives
  • Technical requirements
  • Manipulating data with pipes
  • Building pipes
  • Building directives
  • Summary
  • Chapter 5: Managing Complex Tasks with Services
  • Technical requirements
  • Introducing Angular DI
  • Creating our first Angular service
  • Providing dependencies across the application
  • Injecting services in the component tree
  • Overriding providers in the injector hierarchy
  • Summary
  • Chapter 6: Reactive Patterns in Angular
  • Technical requirements
  • Strategies for handling asynchronous information
  • Reactive programming in Angular
  • The RxJS library
  • Subscribing to observables
  • Unsubscribing from observables
  • Summary
  • Chapter 7: Tracking Application State with Signals
  • Technical requirements
  • Understanding signals
  • Reading and writing signals
  • Computed signals
  • Cooperating with RxJS
  • Summary
  • Chapter 8: Communicating with Data Services over HTTP
  • Technical requirements
  • Communicating data over HTTP
  • Introducing the Angular HTTP client
  • Setting up a backend API
  • Handling CRUD data in Angular
  • Authentication and authorization with HTTP
  • Summary
  • Chapter 9: Navigating through Applications with Routing
  • Technical requirements
  • Introducing the Angular router
  • Configuring the main routes
  • Organizing application routes
  • Passing parameters to routes
  • Enhancing navigation with advanced features
  • Summary
  • Chapter 10: Collecting User Data with Forms
  • Technical requirements
  • Introducing web forms
  • Building template-driven forms
  • Building reactive forms
  • Validating input in forms
  • Manipulating form state
  • Summary
  • Join Us on Discord
  • Chapter 11: Handling Application Errors
  • Technical requirements
  • Handling runtime errors
  • Demystifying framework errors
  • Summary
  • Chapter 12: Introduction to Angular Material
  • Technical requirements
  • Introducing Material Design
  • Introducing Angular Material
  • Integrating UI components
  • Summary
  • Chapter 13: Unit Testing Angular Applications
  • Technical requirements
  • Why do we need unit tests?
  • The anatomy of a unit test
  • Introducing unit tests in Angular
  • Testing components
  • Testing services
  • Testing pipes
  • Testing directives
  • Testing forms
  • Testing the router
  • Summary
  • Chapter 14: Bringing Applications to Production
  • Technical requirements
  • Building an Angular application
  • Limiting the application bundle size
  • Optimizing the application bundle
  • Deploying an Angular application
  • Summary
  • Chapter 15: Optimizing Application Performance
  • Technical requirements
  • Introducing Core Web Vitals
  • Rendering SSR applications
  • Optimizing image loading
  • Deferring components
  • Prerendering SSG applications
  • Summary
  • Packt Page
  • Other Books You May Enjoy
  • Index