Which directive is used to hide elements from the html dom by removing them from that dom and not changing their styling?
Answer / Shekhar Kumar
The ng-if directive in AngularJS can be used to conditionally render or hide HTML elements. Unlike ng-hide, which only toggles CSS styles, ng-if actually removes or adds the element to the DOM.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is grid in angular?
Is lazy loading good?
How would you make an angularjs service return a promise? Write a code snippet as an example
what is the difference between constructor and ngoninit?
Explain ng-bind directive ?
Ln component and service which logic that we have to write?
When latest angularjs was released?
Explain the different types of streams present in node.js?
Whenever invoke ngondestroy. Ngdocheck ligon.init?
How can the spa be implemented with angular?
Is react better than angular?
What is ngonchanges in angular 2?