Angular JS Tutorial

In this article first we know that what is Angular JS and what's benefits, how to dowuload and use.

Angular JS: Angular js is a javascript framework . It is product of google or it is developed by google and it is open source mean any one can use it free of cost. It help to create Single Page Application which is also kown javascript SPA. Now a days, many companies are using Angular JS and many site are developed using Angular JS.




Benefits of Angular JS.

Two way Data-Binding
Testing
Model View Controller
Filters,Routesand Directive etc.

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.
 directive defines an AngularJS application.
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:

How to download:





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




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




Code details here:


Execute this code show here:

Output : 











5 comments:

Powered by Blogger.