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.
Related questions
+1
vote
Q: Explain Components in Angular 2.
asked
Jan 23, 2022
in
Angular
by
sharadyadav1986
angular2-components
0
votes
Q: What are the key components of Angular?
asked
Jul 10, 2023
in
Angular
by
Robindeniel
angularcomponent
+1
vote
Q: In Angular 2, applications rely upon the . . . . . . . method to load top-level components
asked
Feb 15, 2020
in
Angular
by
matthenary
0
votes
Q: Angular 2 components can be described using . . . . . . A . . . . . . is a way to do some meta-programming.
asked
Feb 15, 2020
in
Angular
by
matthenary
0
votes
Q: Angular 2 still does not provide nested components.
asked
Feb 15, 2020
in
Angular
by
matthenary
+1
vote
Q: What are Angular 2 directives? Explain with examples.
asked
Jan 23, 2022
in
Angular
by
sharadyadav1986
angular2-directives
0
votes
Q: 2. Angular 2 is entirely component based. Controllers and $scope are no longer used. They have been replaced by . . . . . . . and . . . . . . . .
asked
Feb 15, 2020
in
Angular
by
matthenary
0
votes
Q: What are the key differences between a Component and a Directive in Angular?
asked
Jun 6, 2022
in
Angular
by
john ganales
component
directive
0
votes
Q: What is the latest version of Angular and what are the key features of it?
asked
Sep 21, 2020
in
Angular
by
JackTerrance
#angular
0
votes
Q: Angular 2 Building Blocks Hands-On Solution
asked
Jul 2, 2022
in
Angular
by
sharadyadav1986
angular2
building-blocks
...