Pregunta de entrevista de Infosys

Explain directives and their functionalities in angularJS?

Respuesta de la entrevista

Anónimo

3 de nov de 2022

AngularJS directives are extended HTML attributes with the prefix ng- . The ng-app directive initializes an AngularJS application. The ng-init directive initializes application data. The ng-model directive binds the value of HTML controls (input, select, textarea) to application data.