Architecture - Angular (Tutorial #3)

Опубликовано: 30 Сентябрь 2024
на канале: Nisha Singla
26,939
210

In this video tutorial, we will learn about the Architecture of Angular application

Let’s take a brief look on some of the key concepts that is important to understand Angular application architecture :

1) Module:

In Angular, a module is a mechanism to group components, directives, pipes and services that are related, in such a way that can be combined with other modules to create an application

2)Component:

Angular5 application is component based that
Encapsulates the template, data and the behaviour of a view

3) Template:

A component needs to have a view. To define a view, you can define a template
A template is a form of HTML that tells Angular how to render the component

4) Metadata:

Metadata tells Angular how to process a class. Because we will create a class In Typescript So to attach angular functionality on this class you need to use metadata through decorators

5). Data Binding

Angular supports data binding, a mechanism for coordinating parts of a template with parts of a component. Add binding markup to the template HTML to tell Angular how to connect both sides.

6) Directives
Angular templates are dynamic. When Angular renders them, it transforms the DOM according to the instructions given by directives.

7) Services:
An Angular service is a class that encapsulates some sort of functionality and provides it as a service for the rest of your application

If you liked this video don't forget to subscribe my channel
Click subscribe for more updates:

   • Introduction- Angular (Tutorial #1)  

Connect with me:
Facebook:   / angularjs4beginners  
LinkedIn:   / nisha-singla-82407aa0