AngularJS Application Overview

You can download AngularJS from here.

What is angular js:

AngularJS is a JavaScript framework. It can be added to an HTML page with a <script> tag.

AngularJS extends HTML attributes with Directives, and binds data to HTML with Expressions.
For creating a single page application (SPA).

AngularJS extends HTML with ng-directives.

It is divide into three types.

  • ng-app directive defines an AngularJS application.

  • ng-model directive binds the value of HTML controls (input, select, textarea) to application data.

  • ng-bind directive binds application data to the HTML view.

Why we need AnjularJS:
  1. AngularJS is not a Platform or a Language.
  2. Write less code
  3. Flexibility with filters
  4. Behaviour with directives
Now we will start working with AngularJS by downloading and adding reference of AngularJS.

Start here step by step:

Open visual studio => Add new Empty web site with name FirstAnjularJsApplication

And add a web page with name FirstAngApplication.aspx and add AngularJS script here.

Code details here:

Execute this code show here:


Next Recommended Reading AngularJS Quiz Application using MVC