To get the most out of this book
- You will need a version of Angular 15 installed on your computer, preferably the latest one. All code examples have been tested using Angular 15.0.0 on Windows, but they should work with any future release of Angular 15 as well.
- If you are using the digital version of this book, we advise you to type the code yourself or access the code via the GitHub repository (link available in the next section). Doing so will help you avoid any potential errors related to the copying and pasting of code.
Download the example code files
The code bundle for the book is hosted on GitHub at https://github.com/PacktPublishing/Learning-Angular-Fourth-Edition. We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing/. Check them out!
Download the color images
We also provide a PDF file that has color images of the screenshots/diagrams used in this book. You can download it here: https://packt.link/af51s.
Conventions used
There are a number of text conventions used throughout this book.
CodeInText
: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. For example: “When we run the preceding command in the src\app\products
folder, it will create the sort.pipe.ts
file and its corresponding unit test file, sort.pipe.spec.ts.
"
A block of code is set as follows:
let distance: any;
distance = '1000km';
distance = 1000;
const distances: any[] = ['1000km', 1000];
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
const basket: any = new FruitBasket();
Any command-line input or output is written as follows:
ng generate interface product
Bold: Indicates a new term, an important word, or words that you see on the screen. For instance, words in menus or dialog boxes appear in the text like this. For example: “There are two categories of pipes: pure and impure.”
Warnings or important notes appear like this.
Tips and tricks appear like this.