AngularJS – Introduction

To download and learn more about AngularJS Script File – Click Here

What is AngularJS ?

AngularJS is an open-source JavaScript framework, maintained by Google, that assists with running single-page applications. Its goal is to augment browser-based applications with model–view–controller (MVC) capability, in an effort to make both development and testing easier.

The library reads in HTML that contains additional custom tag attributes; it then obeys the directives in those custom attributes, and binds input or output parts of the page to a model represented by standard JavaScript variables. The values of those JavaScript variables can be manually set, or retrieved from static or dynamic JSON resources.

Why AngularJS ?

HTML is great for declaring static documents, but it falters when we try to use it for declaring dynamic views in web-applications. AngularJS lets you extend HTML vocabulary for your application. The resulting environment is extraordinarily expressive, readable, and quick to develop.

Different Angular directives

AngularJS directives allow the developer to specify custom and reusable HTML tags that moderate the behavior of certain elements.

    Declares an element as a root element of the application allowing behavior to be modified through custom HTML tags.

    Automatically changes the text of a HTML element to the value of a given expression.

    Similar to ng-bind, but allows two-way data binding between the view and the scope.

    Allows class attributes to be dynamically loaded.

    Specifies a JavaScript controller class that evaluates HTML expressions.

    Instantiate an element once per item from a collection.

ng-show & ng-hide
    Conditionally show or hide an element, depending on the value of a boolean expression.

    Conditionally instantiate one template from a set of choices, depending on the value of a selection expression.

    The base directive responsible for handling routes that resolve JSON before rendering templates driven by specified controllers.

To download and learn more about AngularJS Script File – Click Here


You can leave a response, or trackback from your own site.

Leave a Reply