+1 vote
in Angular by

What are the key components of Angular 2?

1 Answer

0 votes
by

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

0 votes
asked Feb 15, 2020 in Angular by matthenary
0 votes
asked Jul 2, 2022 in Angular by sharadyadav1986
...