Tessellate interview question

What are directives in Angular?

Interview Answer

Anonymous

30 Jan 2019

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