What is ng-content directive in angular?



What is ng-content directive in angular?..

Answer / Ajit Singh

ng-content is a built-in AngularJS directive that allows components to pass their contents into the template of the parent component or another nested component.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

Why we use routing in angularjs?

1 Answers  


Explain order by filter angularjs?

1 Answers  


What is scope hierarchy? How many scopes can an application have?

1 Answers  


What are pipes in angular 2? Explain?

1 Answers  


When will ngoninit be called?

1 Answers  


What does ‘ng-serve’ do?

1 Answers  


What is subscript method in angular?

1 Answers  


What is one-way bindings?

1 Answers  


What is router-outlet directive in angular?

1 Answers  


Define factory method in angularjs.

1 Answers  


What is service in angularjs with example?

1 Answers  


What happen when I import the same module twice in angular 4?

1 Answers  


Categories