
Learning Angular, Fourth Edition
By :

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!
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.
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.