- Get link
- X
- Other Apps
Angular is a framework for building client-side applications using HTML and Language like typescript that compile to JavaScript.
There are Eight main Key players of angular architecture
- Module
- Component
- Template
- Metadata
- Data BInding
- service
- Directive
- Dependency Injection
There are 8 main building blocks of Angular App
In Angular, a module is an implement to group components, directives, pipes, and services that are connected, in such a way that can be integrated with other modules to create an application.
Component
In angular, "everything is a component." component is the main way we build and specify element and logic on the page, though both custom elements and attribute that add functionality to our existing component.
Template
The templates are very similar to Templates in angular JS though there are many small syntactical that make it more clear what is happening.
Metadata
Metadata is a way of processing the class. Consider we have one component called My Component which will be a class until we tell. Angular that us a component.
DataBinding
Data binding, one of the most loved and hated concepts of angular JS, made its way to Angular. There a couple of ways to bind data in angular i.e. interiorization, one-way binding, two-way binding, and event bind.
Service
Instead of copying and pasting the same code repeatedly, you will create a single refillable data inject it into the component that requirements it.
Directive
The Directive in Angular allocate many things in same with directives in angular JS, they have become well defined in the Angular, and each type is able of particular task. The three types of directives in Angular are attribute directive and component.
Dependency Injection
Dependency injection is an important application design pattern. Angular has its have to one's name dependency framework, and you really can not build an Angular application without it.


Comments
Post a Comment