What is ngcontent?



What is ngcontent?..

Answer / Rahul Bhaskar

ngContent is a directive in AngularJS used to project the contents of one component into another component. It enables you to use content as input and dynamically add elements within a component's template.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

Explain zone in angular?

1 Answers  


What string interpolation is in angularjs?

1 Answers  


How would you select all the child components’ elements?

1 Answers  


Why angular is so popular?

1 Answers  


How to display the error message from backend in angular2?

1 Answers  


What's new in angular 8?

1 Answers  


What does a router.navigate do?

1 Answers  


Differentiate between dom and bom.

1 Answers  


What is emit in angular?

1 Answers  


Explain the advantages of angularjs.

1 Answers  


What are http interceptors used for?

1 Answers  


How is angularjs compiled?

1 Answers  


Categories