AngularJs Directives

Definition – AngularJS directive adds angularJS functionalities to HTML.

or

AngularJs Directives introduces AngularJS to HTML.

or

AngularJs Directives enables AngularJs to work with HTML.

or

AngularJs Directives allows HTML to extend with AngularJS attributes.

Syntax – ng-

AngularJS Directive-  There are total 55 Directives and we can also create our own directives.
Most Useful directives are following :

  • ng-app: Starts an AngularJS Application.
  • ng-init: Initializes data.
  • ng-model: A variable to be used in AngularJS.
  • ng-repeat: Repeats for each item in a collection.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.