What an angular 5 component made of?



What an angular 5 component made of?..

Answer / Gaurav Garg

An Angular 5 component consists of three main parts: 1) @Component decorator (metadata), 2) Template (HTML file defining view), and 3) Class (TypeScript or JavaScript class defining the component's behavior).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

Explain how we can create module and using it in AngularJS?

1 Answers  


How install npm install?

1 Answers  


What are angular templates?

1 Answers  


What is the use of ng-cloak directive in angularjs?

1 Answers  


How did you stop observable?

1 Answers  


How to display the values in tables in AngularJS?

1 Answers  


Can you use bootstrap with angular?

1 Answers  


What is angular cli? List the command to install angular cli?

1 Answers  


Explain ng-app directive in angular.

1 Answers  


How to debug angular 4 projects from visual studio 2017?

1 Answers  


What is npm start?

1 Answers  


What is angular8?

3 Answers  


Categories