Yogesh Chauhan's Blog

A complete diagram with building blocks of an Angular application

in Angular on May 9, 2020

We've learned the basics about the main building blocks of an Angular application in the following 3 articles.

Part 1: What Are Modules And Components In Angular?

Part 2: Templates, Directives, Data Binding, Services And Dependency Injection

Part 3: How Routing Works In Angular?

The following diagram shows how these basic pieces are related.

building blocks of an Angular application
building blocks of an Angular application

Together, a component and template define an Angular view.

A decorator on a component class adds the metadata, including a pointer to the associated template.

Directives and binding markup in a component's template modify views based on program data and logic.

The dependency injector provides services to a component, such as the router service that lets you define navigation among views.

Most Read

#1 How to check if radio button is checked or not using JavaScript? #2 How to add Read More Read Less Button using JavaScript? #3 Solution to “TypeError: ‘x’ is not iterable” in Angular 9 #4 How to uninstall Cocoapods from the Mac OS? #5 PHP Login System using PDO Part 1: Create User Registration Page #6 How to Use SQL MAX() Function with Dates?

Recently Posted

#Jan 16 Colleague UI Basics: The Search Area #Jan 16 Colleague UI Basics: The Context Area #Jan 16 Colleague UI Basics: Accessing the user interface #Jan 14 How to display a student’s individual transcript in Colleague? #Jan 11 How to install PuTTY on a MacOS? #Jan 8 How to Install Xcode Command Line Tools on MacOS?
You might also like these
The Drupal flowDrupalHow to Commit and Rollback Changes in SQL?SQL/MySQLHow to select an element using its ID without the high specificity of the ID selector?CSSMake sure your links have descriptive textUI/UXValues and Types Basics in JavaScriptJavaScriptHow to create a flip effect with CSS?CSSHow to update database configurations in WordPress?WordPressLEFT JOIN in PostgresPostgresWhat are Controlled Components in React?ReactHow to Use ROLLUP Operator in SQL and MySQL?SQL/MySQLHow to Display Related Posts in WordPress?WordPressWhat is XP (Extreme Programming) and When should it be used?Miscellaneous