What is innerhtml in angular?



What is innerhtml in angular?..

Answer / Anupam Kashyap

innerHTML is a property used primarily in vanilla JavaScript for manipulating the HTML content of an element. Angular, however, encourages using Data Binding instead of directly manipulating DOM elements with innerHTML.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

What is ngmodel in angular?

1 Answers  


What is hashlocationstrategy?

1 Answers  


What is lazy loading angular?

1 Answers  


What filters to use for photography?

1 Answers  


What is the difference between an annotation and a decorator in angular?

1 Answers  


How would you create a component to display error messages throughout your application?

1 Answers  


What is @ngmodule in angular 2?

1 Answers  


What is better react or angular?

1 Answers  


What is two way data binding in angularjs?

1 Answers  


Which module does is required for every angular 2 app?

1 Answers  


What is tree shaking in angular?

1 Answers  


What is angular directive? Explain in detail?

1 Answers  


Categories