Paytm interview question

How will You do DOM manipulation in AngularJs

Interview Answer

Anonymous

Jul 6, 2018

There are so many amazing features available in Angular as a one of the most powerful JavaScript framework like Components, Services, Modules, Directives, Pipes etc. In which directives is the features by which we can manipulate the DOM. There are two types of Directives available: 1. In-build Directives like "ngIf" and "ngFor". 2. Custom Directives: We can create our own reusable directives as per our requirement in the software.