Explain the component directory structure of angular 4?



Explain the component directory structure of angular 4?..

Answer / Ashutosh Arun

The component directory structure in Angular 4 is as follows:nnapp/n|-n|-n|-- app.componentn|-- app.module.tsn|-- components/n| |-- component1/n| |-- component1.component.tsn| |-- component1.component.htmln| |-- component1.component.cssn| |-- component2/n ...n|-- app.routes.ts

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

List and explain different types of directive available in angularjs?

1 Answers  


Explain the steps for creating a services in angular 2?

1 Answers  


What are the characteristics of 'scope'?

1 Answers  


What is the difference between Factory, Service and Provider?

1 Answers  


Explain directives ng-if, ng-switch and ng-repeat?

1 Answers  


How do you identify a structural directive in html?

1 Answers  


Explain call and apply method?

1 Answers  


When latest angularjs was released?

1 Answers  


What is a javascript factory?

1 Answers  


How can primeng be used with angular2?

0 Answers  


What is semantic element in html?

1 Answers  


What is component in angular?

1 Answers  


Categories