Problem Statement
How does an Angular application work?
Explanation
An Angular app is a Single Page Application (SPA) that runs in the browser. It starts with the main.ts file, which bootstraps the AppModule using the bootstrapModule() function. AppModule groups components and services. The AppComponent defines the main view, while index.html loads the root selector <app-root>. Angular uses data binding, directives, and dependency injection to dynamically update the UI without reloading the page.