Architecture of a Basic Angular 2 App

Here's a diagram that illustrates the core file architecture of an Angular 2 app. It shows, for example, the general architecture of an app like the ones generated with the Angular CLI. The only difference is the addition of two child components: nav and bio.

main.ts app.module.ts app.component.ts app.component.css ….css ….html nav.component.ts index.html styles.css bio.component.ts Root module: Root component: Component styles: Component template: Bootstraps the root module: Global styles: ….css ….html app.component.html


🔎 Searching...