top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is Angular Directive ?

+2 votes
384 views

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

posted Nov 19, 2015 by Parampreet Kaur

  Promote This Article
Facebook Share Button Twitter Share Button LinkedIn Share Button

...