Tuesday, 27 May 2014

Angular JS

Angular JS is an open source Java Script MVC Framework developed by Google. It is very easy to develop, test and maintain rich client-side web applications.

Official Website: https://angularjs.org/

Download angular.min.js file from Angular JS Official website.

I'm using Angular JS 1.3.0 version in this tutorial.

Angular JS Features:

  • Automatic Two-way data binding
       Binding Data from DOM Elements to Model
       Binding Data from Model to DOM Elements
       That means Angular JS's Two-way Data Binding will take care of data
       synchronization between DOM Elements and Models

  • Provides Templates
  • Localization
  • MVC Framework
       The Model is a plan old JavaScript Object
       The View is the HTML
       The Controller is responsible for setting initial state and augmenting
       $scope with methods to control behavior of the application.
  • DI(Dependency Injection)
       Angular JS has built-in support for Dependency Injection to ease of
       development and to improve productivity.
  • Directives
       Angular JS has n number of in-built directives.
       For example, ng-app,ng-model,ng-controller etc.
  • Events
Simple HelloWorld Example