SlideShare a Scribd company logo
For Angular Online Training : +91-999 123 502
Introduction to Angular
Shailendra Chauhan
Microsoft MVP, Technical Consultant and Corporate Trainer
For Angular Online Training : +91-999 123 502
• A framework for building application using
web technologies like html, css and js
• Empowers developers to build applications
for browsers, mobiles, or desktop
Introduction to Angular
For Angular Online Training : +91-999 123 502
• Developed in 2009 by Misko Hevery and Adam Abrons at Brat Tech
• Misko Hevery started to work for Google in 2009
• Angular version 1.0 (AngularJS) was released in 2012 by Google
• Angular version 2.0 was released in September 2016
• Angular 4.0 was released in March 2017
• Angular 5.0 was released in Nov 2017
• Angular 6.0 was released in May 2018
• Angular 7.0 was released in Oct 2018
• Angular 8.0 was released in May 2019
• Angular 9.0 was released in Feb 2020
Angular History
For Angular Online Training : +91-999 123 502
• A powerful to create, build, compile and serve Angular2 App
• Used to generate new components, routes, services and pipes
• Installing Angular CLI
▪ npm install -g @angular/cli
• Generating and serving Angular app
▪ ng new proj_name --skip-install
▪ cd proj_name
▪ npm install
▪ ng serve
Angular CLI
For Angular Online Training : +91-999 123 502
Angular CLI Options
Options Usage
Help ng --help
Build ng build --env
Build and Run ng serve
Testing ng test
End-End Testing ng e2e
For Angular Online Training : +91-999 123 502
Angular CLI Commands
Scaffold Usage In Short
Module ng generate module my-module ng g m my-module
Component ng generate component my-component ng g c my-component
Directive ng generate directive my-directive ng g d my-directive
Pipe ng generate pipe my-pipe ng g p my-pipe
Service ng generate service my-service ng g s my-service
Guard ng generate guard my-guard ng g g my-guard
Class ng generate class my-class ng g cl my-class
Interface ng generate interface my-interface ng g i my-interface
Enum ng generate enum my-enum ng g e my-enum
For Angular Online Training : +91-999 123 502
Angular Initialization Process
For Angular Online Training : +91-999 123 502
• Modules
• Components
• Templates
• Metadata
• Data binding
• Directives
• Pipes
Angular Building Blocks
• Routing
• Forms
• Services
• Dependency injection
For Angular Online Training : +91-999 123 502
• A module organize an application into unified blocks of
functionality
• An Angular module is a class with an @NgModule
decorator
• Accepts a single metadata object whose properties
describe the module
• Each Angular app must have at least one module, known
as root module
Modules
For Angular Online Training : +91-999 123 502
Modules
For Angular Online Training : +91-999 123 502
• imports – Specify other dependent modules whose classes are
required by the component templates declared in the module
• declarations – Specify the components, directives, and pipes that
belong to the module
• bootstrap – Specify the main app view i.e root component. Only
the root module can have this bootstrap property
• exports – A subset of declarations that will be visible and usable
in the other modules. A root module doesn’t have export option.
• providers – Specify the services, accessible across the app
NgModule Metadata Main Properties
For Angular Online Training : +91-999 123 502
• Angular has built-In library modules starting with the @angular
as prefix
• Built-In library & third part modules can be installed using npm
manager
• Built-In modules, components, services, directives etc. can be
imported by using built-In library modules
Built-In Modules
For Angular Online Training : +91-999 123 502
• A type of directives with template, styles and logic for
user interaction
• Exported as a custom HTML tag like as:
▪ <my-component></my-component>
• Initialized by Angular Dependency Injection engine
Component
For Angular Online Training : +91-999 123 502
Angular Components Page View
ROOT COMPONENT
HEADER COMPONENT
FOOTER COMPONENT
ARTICLE
COMPONENT
COMMENTS
COMPONENT
CATEGORIES
COMPONENT
NEWS FEEDS
COMPONENT
For Angular Online Training : +91-999 123 502
Component Example
For Angular Online Training : +91-999 123 502
• Define the view of a component
• Contains Html markup and angular directives, attributes etc.
• Describe how a component is rendered on the page
Template
For Angular Online Training : +91-999 123 502
• A function that adds metadata to a class, class members
• These are prefix with @ symbol
• Angular has built-In decorators like - @Component,
@NgModule, @Directive, @Pipe etc.
Decorators
For Angular Online Training : +91-999 123 502
• Class decorators
▪ @NgModule – Used for defining a module
▪ @Component – Used for defining a component
▪ @Directive – Used for defining a directive
▪ @Injectable – Used for injecting dependencies
▪ @Pipe – Used for defining a pipe
• Class field decorators
▪ @Input – Used for receiving data (input) from parent to child
component
▪ @Output – Used for passing data (events) from child to parent
component
Types of Decorators
For Angular Online Training : +91-999 123 502
• Tells Angular how to process a class
• Decorators are used to attach metadata to a class
Metadata
For Angular Online Training : +91-999 123 502
• HTML forms are an essential part of a web application
• Angular provides two ways to create form – Template
Driven and Model Driven
Angular Forms
Forms
Template
Driven
Model Driven
For Angular Online Training : +91-999 123 502
Angular Form Building Blocks
Building
Blocks
FormGroup FormControl FormArray Validations
For Angular Online Training : +91-999 123 502
Angular Form and Form Controls States

More Related Content

What's hot (20)

Entity Framework Core 1.0
Entity Framework Core 1.0
Senthil Kumar
 
Building share point apps with angularjs
Building share point apps with angularjs
Ahmed Elharouny
 
ASP.NET 5 Overview
ASP.NET 5 Overview
Shahed Chowdhuri
 
Angular overview
Angular overview
Thanvilahari
 
Office script labs
Office script labs
Mark Roden
 
Introduction to asp.net
Introduction to asp.net
shan km
 
Angular resolver tutorial
Angular resolver tutorial
Katy Slemon
 
ASP.NET MVC 4 Overview
ASP.NET MVC 4 Overview
Gunnar Peipman
 
SoCal Code Camp 2011 - ASP.NET MVC 4
SoCal Code Camp 2011 - ASP.NET MVC 4
Jon Galloway
 
ASP.NET
ASP.NET
Chandan Gupta Bhagat
 
Angular on ASP.NET MVC 6
Angular on ASP.NET MVC 6
Noam Kfir
 
Web jobs, Azure Functions and Serverless Computing
Web jobs, Azure Functions and Serverless Computing
Paris Polyzos
 
BUILD, TEST & DEPLOY .NET CORE APPS IN AZURE DEVOPS
BUILD, TEST & DEPLOY .NET CORE APPS IN AZURE DEVOPS
CodeOps Technologies LLP
 
Serverless in Azure with Functions
Serverless in Azure with Functions
Christos Matskas
 
angular-formly presentation
angular-formly presentation
Annia Martinez
 
Cloud compiler - Minor Project by students of CBPGEC
Cloud compiler - Minor Project by students of CBPGEC
vipin kumar
 
How to Build Dynamic Forms in Angular Directive with a Backend
How to Build Dynamic Forms in Angular Directive with a Backend
Backand Cohen
 
ASP.NET 5
ASP.NET 5
David Voyles
 
Introduction to ASP.NET MVC 1.0
Introduction to ASP.NET MVC 1.0
Shiju Varghese
 
TDD with ASP.NET MVC 1.0
TDD with ASP.NET MVC 1.0
Shiju Varghese
 
Entity Framework Core 1.0
Entity Framework Core 1.0
Senthil Kumar
 
Building share point apps with angularjs
Building share point apps with angularjs
Ahmed Elharouny
 
Office script labs
Office script labs
Mark Roden
 
Introduction to asp.net
Introduction to asp.net
shan km
 
Angular resolver tutorial
Angular resolver tutorial
Katy Slemon
 
ASP.NET MVC 4 Overview
ASP.NET MVC 4 Overview
Gunnar Peipman
 
SoCal Code Camp 2011 - ASP.NET MVC 4
SoCal Code Camp 2011 - ASP.NET MVC 4
Jon Galloway
 
Angular on ASP.NET MVC 6
Angular on ASP.NET MVC 6
Noam Kfir
 
Web jobs, Azure Functions and Serverless Computing
Web jobs, Azure Functions and Serverless Computing
Paris Polyzos
 
BUILD, TEST & DEPLOY .NET CORE APPS IN AZURE DEVOPS
BUILD, TEST & DEPLOY .NET CORE APPS IN AZURE DEVOPS
CodeOps Technologies LLP
 
Serverless in Azure with Functions
Serverless in Azure with Functions
Christos Matskas
 
angular-formly presentation
angular-formly presentation
Annia Martinez
 
Cloud compiler - Minor Project by students of CBPGEC
Cloud compiler - Minor Project by students of CBPGEC
vipin kumar
 
How to Build Dynamic Forms in Angular Directive with a Backend
How to Build Dynamic Forms in Angular Directive with a Backend
Backand Cohen
 
Introduction to ASP.NET MVC 1.0
Introduction to ASP.NET MVC 1.0
Shiju Varghese
 
TDD with ASP.NET MVC 1.0
TDD with ASP.NET MVC 1.0
Shiju Varghese
 

Similar to Best Angular Training Online: Angular tutorial | Learn Angular 2 to 10 | (20)

unlimited-angular-training-online-angular-tutorial-learn-angular-2-to-10.pptx
unlimited-angular-training-online-angular-tutorial-learn-angular-2-to-10.pptx
ssuser98f96f
 
Angular Course.pptx
Angular Course.pptx
Imdad Ullah
 
Foster - Getting started with Angular
Foster - Getting started with Angular
MukundSonaiya1
 
Angular.ppt
Angular.ppt
Mytrux1
 
Angular
Angular
Vinod Kumar Kayartaya
 
Angular Framework ppt for beginners and advanced
Angular Framework ppt for beginners and advanced
Preetha Ganapathi
 
Fly High With Angular - How to build an app using Angular
Fly High With Angular - How to build an app using Angular
Vacation Labs
 
Angular Basics.pptx
Angular Basics.pptx
AshokKumar616995
 
Angular
Angular
TejinderMakkar
 
Angular Interview Questions-PDF.pdf
Angular Interview Questions-PDF.pdf
JohnLeo57
 
Angular2
Angular2
SitaPrajapati
 
Angular 2
Angular 2
Travis van der Font
 
Ng talk
Ng talk
Aymene Bennour
 
Angular4 getting started
Angular4 getting started
TejinderMakkar
 
Angular2
Angular2
kunalkumar376
 
Evolution and History of Angular as Web Development Platform.pdf
Evolution and History of Angular as Web Development Platform.pdf
iFour Technolab Pvt. Ltd.
 
Angular Weekend
Angular Weekend
Troy Miles
 
Angular 4 Directives | Angular 4 Tutorial For Beginners | Angular 4 Directive...
Angular 4 Directives | Angular 4 Tutorial For Beginners | Angular 4 Directive...
Edureka!
 
Angular, the New Angular JS
Angular, the New Angular JS
Kenzan
 
We are providing Angular Training in Mumbai
We are providing Angular Training in Mumbai
CNCWebWorld2
 
unlimited-angular-training-online-angular-tutorial-learn-angular-2-to-10.pptx
unlimited-angular-training-online-angular-tutorial-learn-angular-2-to-10.pptx
ssuser98f96f
 
Angular Course.pptx
Angular Course.pptx
Imdad Ullah
 
Foster - Getting started with Angular
Foster - Getting started with Angular
MukundSonaiya1
 
Angular.ppt
Angular.ppt
Mytrux1
 
Angular Framework ppt for beginners and advanced
Angular Framework ppt for beginners and advanced
Preetha Ganapathi
 
Fly High With Angular - How to build an app using Angular
Fly High With Angular - How to build an app using Angular
Vacation Labs
 
Angular Interview Questions-PDF.pdf
Angular Interview Questions-PDF.pdf
JohnLeo57
 
Angular4 getting started
Angular4 getting started
TejinderMakkar
 
Evolution and History of Angular as Web Development Platform.pdf
Evolution and History of Angular as Web Development Platform.pdf
iFour Technolab Pvt. Ltd.
 
Angular Weekend
Angular Weekend
Troy Miles
 
Angular 4 Directives | Angular 4 Tutorial For Beginners | Angular 4 Directive...
Angular 4 Directives | Angular 4 Tutorial For Beginners | Angular 4 Directive...
Edureka!
 
Angular, the New Angular JS
Angular, the New Angular JS
Kenzan
 
We are providing Angular Training in Mumbai
We are providing Angular Training in Mumbai
CNCWebWorld2
 
Ad

More from Shailendra Chauhan (8)

Mastering Best Azure DevOps Online Training and Certification - Dot Net Tricks
Mastering Best Azure DevOps Online Training and Certification - Dot Net Tricks
Shailendra Chauhan
 
Introduction to Docker | Docker and Kubernetes Training
Introduction to Docker | Docker and Kubernetes Training
Shailendra Chauhan
 
Azure for.Net developers | Azure Online Certification Training
Azure for.Net developers | Azure Online Certification Training
Shailendra Chauhan
 
Microservices Tutorial for Beginners | All You Need to Get Started
Microservices Tutorial for Beginners | All You Need to Get Started
Shailendra Chauhan
 
Angular Unit Testing
Angular Unit Testing
Shailendra Chauhan
 
Web Applications Development with MEAN Stack
Web Applications Development with MEAN Stack
Shailendra Chauhan
 
Building Cross Platform Mobile Apps
Building Cross Platform Mobile Apps
Shailendra Chauhan
 
ASP.NET MVC Interview Questions and Answers by Shailendra Chauhan
ASP.NET MVC Interview Questions and Answers by Shailendra Chauhan
Shailendra Chauhan
 
Mastering Best Azure DevOps Online Training and Certification - Dot Net Tricks
Mastering Best Azure DevOps Online Training and Certification - Dot Net Tricks
Shailendra Chauhan
 
Introduction to Docker | Docker and Kubernetes Training
Introduction to Docker | Docker and Kubernetes Training
Shailendra Chauhan
 
Azure for.Net developers | Azure Online Certification Training
Azure for.Net developers | Azure Online Certification Training
Shailendra Chauhan
 
Microservices Tutorial for Beginners | All You Need to Get Started
Microservices Tutorial for Beginners | All You Need to Get Started
Shailendra Chauhan
 
Web Applications Development with MEAN Stack
Web Applications Development with MEAN Stack
Shailendra Chauhan
 
Building Cross Platform Mobile Apps
Building Cross Platform Mobile Apps
Shailendra Chauhan
 
ASP.NET MVC Interview Questions and Answers by Shailendra Chauhan
ASP.NET MVC Interview Questions and Answers by Shailendra Chauhan
Shailendra Chauhan
 
Ad

Recently uploaded (20)

IDF 30min presentation - December 2, 2024.pptx
IDF 30min presentation - December 2, 2024.pptx
ArneeAgligar
 
Revista digital preescolar en transformación
Revista digital preescolar en transformación
guerragallardo26
 
Final Sketch Designs for poster production.pptx
Final Sketch Designs for poster production.pptx
bobby205207
 
Chalukyas of Gujrat, Solanki Dynasty NEP.pptx
Chalukyas of Gujrat, Solanki Dynasty NEP.pptx
Dr. Ravi Shankar Arya Mahila P. G. College, Banaras Hindu University, Varanasi, India.
 
Unit 3 Poster Sketches with annotations.pptx
Unit 3 Poster Sketches with annotations.pptx
bobby205207
 
Basic English for Communication - Dr Hj Euis Eti Rohaeti Mpd
Basic English for Communication - Dr Hj Euis Eti Rohaeti Mpd
Restu Bias Primandhika
 
BUSINESS QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 9 SEPTEMBER 2024
BUSINESS QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 9 SEPTEMBER 2024
Quiz Club of PSG College of Arts & Science
 
Overview of Off Boarding in Odoo 18 Employees
Overview of Off Boarding in Odoo 18 Employees
Celine George
 
Sustainable Innovation with Immersive Learning
Sustainable Innovation with Immersive Learning
Leonel Morgado
 
Introduction to Generative AI and Copilot.pdf
Introduction to Generative AI and Copilot.pdf
TechSoup
 
Paper 109 | Archetypal Journeys in ‘Interstellar’: Exploring Universal Themes...
Paper 109 | Archetypal Journeys in ‘Interstellar’: Exploring Universal Themes...
Rajdeep Bavaliya
 
What is FIle and explanation of text files.pptx
What is FIle and explanation of text files.pptx
Ramakrishna Reddy Bijjam
 
Unit- 4 Biostatistics & Research Methodology.pdf
Unit- 4 Biostatistics & Research Methodology.pdf
KRUTIKA CHANNE
 
How to Manage Upselling of Subscriptions in Odoo 18
How to Manage Upselling of Subscriptions in Odoo 18
Celine George
 
LDMMIA Free Reiki Yoga S9 Grad Level Intuition II
LDMMIA Free Reiki Yoga S9 Grad Level Intuition II
LDM & Mia eStudios
 
Nice Dream.pdf /
Nice Dream.pdf /
ErinUsher3
 
ROLE PLAY: FIRST AID -CPR & RECOVERY POSITION.pptx
ROLE PLAY: FIRST AID -CPR & RECOVERY POSITION.pptx
Belicia R.S
 
Black and White Illustrative Group Project Presentation.pdf (1).pdf
Black and White Illustrative Group Project Presentation.pdf (1).pdf
AnnasofiaUrsini
 
The Man In The Back – Exceptional Delaware.pdf
The Man In The Back – Exceptional Delaware.pdf
dennisongomezk
 
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
razelitouali
 
IDF 30min presentation - December 2, 2024.pptx
IDF 30min presentation - December 2, 2024.pptx
ArneeAgligar
 
Revista digital preescolar en transformación
Revista digital preescolar en transformación
guerragallardo26
 
Final Sketch Designs for poster production.pptx
Final Sketch Designs for poster production.pptx
bobby205207
 
Unit 3 Poster Sketches with annotations.pptx
Unit 3 Poster Sketches with annotations.pptx
bobby205207
 
Basic English for Communication - Dr Hj Euis Eti Rohaeti Mpd
Basic English for Communication - Dr Hj Euis Eti Rohaeti Mpd
Restu Bias Primandhika
 
Overview of Off Boarding in Odoo 18 Employees
Overview of Off Boarding in Odoo 18 Employees
Celine George
 
Sustainable Innovation with Immersive Learning
Sustainable Innovation with Immersive Learning
Leonel Morgado
 
Introduction to Generative AI and Copilot.pdf
Introduction to Generative AI and Copilot.pdf
TechSoup
 
Paper 109 | Archetypal Journeys in ‘Interstellar’: Exploring Universal Themes...
Paper 109 | Archetypal Journeys in ‘Interstellar’: Exploring Universal Themes...
Rajdeep Bavaliya
 
What is FIle and explanation of text files.pptx
What is FIle and explanation of text files.pptx
Ramakrishna Reddy Bijjam
 
Unit- 4 Biostatistics & Research Methodology.pdf
Unit- 4 Biostatistics & Research Methodology.pdf
KRUTIKA CHANNE
 
How to Manage Upselling of Subscriptions in Odoo 18
How to Manage Upselling of Subscriptions in Odoo 18
Celine George
 
LDMMIA Free Reiki Yoga S9 Grad Level Intuition II
LDMMIA Free Reiki Yoga S9 Grad Level Intuition II
LDM & Mia eStudios
 
Nice Dream.pdf /
Nice Dream.pdf /
ErinUsher3
 
ROLE PLAY: FIRST AID -CPR & RECOVERY POSITION.pptx
ROLE PLAY: FIRST AID -CPR & RECOVERY POSITION.pptx
Belicia R.S
 
Black and White Illustrative Group Project Presentation.pdf (1).pdf
Black and White Illustrative Group Project Presentation.pdf (1).pdf
AnnasofiaUrsini
 
The Man In The Back – Exceptional Delaware.pdf
The Man In The Back – Exceptional Delaware.pdf
dennisongomezk
 
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
razelitouali
 

Best Angular Training Online: Angular tutorial | Learn Angular 2 to 10 |

  • 1. For Angular Online Training : +91-999 123 502 Introduction to Angular Shailendra Chauhan Microsoft MVP, Technical Consultant and Corporate Trainer
  • 2. For Angular Online Training : +91-999 123 502 • A framework for building application using web technologies like html, css and js • Empowers developers to build applications for browsers, mobiles, or desktop Introduction to Angular
  • 3. For Angular Online Training : +91-999 123 502 • Developed in 2009 by Misko Hevery and Adam Abrons at Brat Tech • Misko Hevery started to work for Google in 2009 • Angular version 1.0 (AngularJS) was released in 2012 by Google • Angular version 2.0 was released in September 2016 • Angular 4.0 was released in March 2017 • Angular 5.0 was released in Nov 2017 • Angular 6.0 was released in May 2018 • Angular 7.0 was released in Oct 2018 • Angular 8.0 was released in May 2019 • Angular 9.0 was released in Feb 2020 Angular History
  • 4. For Angular Online Training : +91-999 123 502 • A powerful to create, build, compile and serve Angular2 App • Used to generate new components, routes, services and pipes • Installing Angular CLI ▪ npm install -g @angular/cli • Generating and serving Angular app ▪ ng new proj_name --skip-install ▪ cd proj_name ▪ npm install ▪ ng serve Angular CLI
  • 5. For Angular Online Training : +91-999 123 502 Angular CLI Options Options Usage Help ng --help Build ng build --env Build and Run ng serve Testing ng test End-End Testing ng e2e
  • 6. For Angular Online Training : +91-999 123 502 Angular CLI Commands Scaffold Usage In Short Module ng generate module my-module ng g m my-module Component ng generate component my-component ng g c my-component Directive ng generate directive my-directive ng g d my-directive Pipe ng generate pipe my-pipe ng g p my-pipe Service ng generate service my-service ng g s my-service Guard ng generate guard my-guard ng g g my-guard Class ng generate class my-class ng g cl my-class Interface ng generate interface my-interface ng g i my-interface Enum ng generate enum my-enum ng g e my-enum
  • 7. For Angular Online Training : +91-999 123 502 Angular Initialization Process
  • 8. For Angular Online Training : +91-999 123 502 • Modules • Components • Templates • Metadata • Data binding • Directives • Pipes Angular Building Blocks • Routing • Forms • Services • Dependency injection
  • 9. For Angular Online Training : +91-999 123 502 • A module organize an application into unified blocks of functionality • An Angular module is a class with an @NgModule decorator • Accepts a single metadata object whose properties describe the module • Each Angular app must have at least one module, known as root module Modules
  • 10. For Angular Online Training : +91-999 123 502 Modules
  • 11. For Angular Online Training : +91-999 123 502 • imports – Specify other dependent modules whose classes are required by the component templates declared in the module • declarations – Specify the components, directives, and pipes that belong to the module • bootstrap – Specify the main app view i.e root component. Only the root module can have this bootstrap property • exports – A subset of declarations that will be visible and usable in the other modules. A root module doesn’t have export option. • providers – Specify the services, accessible across the app NgModule Metadata Main Properties
  • 12. For Angular Online Training : +91-999 123 502 • Angular has built-In library modules starting with the @angular as prefix • Built-In library & third part modules can be installed using npm manager • Built-In modules, components, services, directives etc. can be imported by using built-In library modules Built-In Modules
  • 13. For Angular Online Training : +91-999 123 502 • A type of directives with template, styles and logic for user interaction • Exported as a custom HTML tag like as: ▪ <my-component></my-component> • Initialized by Angular Dependency Injection engine Component
  • 14. For Angular Online Training : +91-999 123 502 Angular Components Page View ROOT COMPONENT HEADER COMPONENT FOOTER COMPONENT ARTICLE COMPONENT COMMENTS COMPONENT CATEGORIES COMPONENT NEWS FEEDS COMPONENT
  • 15. For Angular Online Training : +91-999 123 502 Component Example
  • 16. For Angular Online Training : +91-999 123 502 • Define the view of a component • Contains Html markup and angular directives, attributes etc. • Describe how a component is rendered on the page Template
  • 17. For Angular Online Training : +91-999 123 502 • A function that adds metadata to a class, class members • These are prefix with @ symbol • Angular has built-In decorators like - @Component, @NgModule, @Directive, @Pipe etc. Decorators
  • 18. For Angular Online Training : +91-999 123 502 • Class decorators ▪ @NgModule – Used for defining a module ▪ @Component – Used for defining a component ▪ @Directive – Used for defining a directive ▪ @Injectable – Used for injecting dependencies ▪ @Pipe – Used for defining a pipe • Class field decorators ▪ @Input – Used for receiving data (input) from parent to child component ▪ @Output – Used for passing data (events) from child to parent component Types of Decorators
  • 19. For Angular Online Training : +91-999 123 502 • Tells Angular how to process a class • Decorators are used to attach metadata to a class Metadata
  • 20. For Angular Online Training : +91-999 123 502 • HTML forms are an essential part of a web application • Angular provides two ways to create form – Template Driven and Model Driven Angular Forms Forms Template Driven Model Driven
  • 21. For Angular Online Training : +91-999 123 502 Angular Form Building Blocks Building Blocks FormGroup FormControl FormArray Validations
  • 22. For Angular Online Training : +91-999 123 502 Angular Form and Form Controls States