Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
What are the key components of Angular 2?
Home
Angular
What are the key components of Angular 2?
+1
vote
asked
Jan 23, 2022
in
Angular
by
sharadyadav1986
What are the key components of Angular 2?
angular2-components
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jan 23, 2022
by
sharadyadav1986
Angular 2 has the following components −
Modules − This is used to break up the application into logical pieces of code. Each piece of code or module is designed to perform a single task.
Component − This can be used to bring the modules together.
Templates − This is used to define the views of an Angular JS application.
Metadata − This can be used to add more data to an Angular JS class.
Service − This is used to create components which can be shared across the entire application.
...