What is Angular Directive ?
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.
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.
Types of Directive
- Element directives
- Attribute directives
- CSS class directives
- Comment directives
Video for Angular.Js Directive