A web crawler is an automated program that traverses web pages, extracts information, indexes keywords, and follows discovered links. Search engines use crawlers to find pages and connect them with searches. section 9.1.2
Crawlers perform an initial page load but do not execute client-side JavaScript. A single-page application can therefore expose an almost empty HTML document while JavaScript renders the useful content later, limiting discoverability. section 9.1.2
Search visibility for a legal website
A legal company in Albuquerque can gain search traffic when crawlers index its pages and associate them with terms such as “lawyer in ABQ.” section 9.1.2
Listing 9.1 index.html file of an Angular single-page application
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Hrms</title> <base href="/"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="icon" type="image/x-icon" href="favicon.ico"> <link rel="stylesheet" href="styles.css"> </head> <body> <app-root></app-root> <script src="runtime.js" type="module"></script> <script src="polyfills.js" type="module"></script> <script src="styles.js" defer></script> <script src="vendor.js" type="module"></script> <script src="main.js" type="module"></script> </body> </html>
Inspect the Angular SPA entry document: its app-root element contains no page content, while JavaScript bundles are responsible for rendering it. section 9.1.2

