Explain architecture and key components of angular with diagram.
The main building blocks of an Angular application is shown in the below diagram:
Angular has the following key components,
Component: These are the basic building blocks of angular application to control HTML views.
Modules: An angular module is a set of angular basic building blocks like components, directives, services etc. An application is divided into logical parts and each part of code is known as a "module" that performs a single task.
Templates: These show the views of an Angular app.
Services: It is utilized to create components which could be shared across the entire application.
Metadata: This could be utilized for adding more data in Angular class.