How Install Angular JS 1.0

 In this article we are going to learn how to install and use of Angular 1.0. In this article I will cover three points. They are as below.

1. What is Angular JS 1.0
2. How to install it
3. How to use it.


1. What is angular js: 
Angular JS is a JavaScript framework. It can be added to an HTML page with a <script> tag. Angular JS extends HTML attributes with Directives, and binds data to HTML with ExpressionsFor creating a single page application (SPA). And the best example of Single Page Application is GMAIL.
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 Angular JS:
  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.

2. How to install it: It is the very simple process .You can download Angular JS from here.



After click the Download Angular JS 1 next window will open like.




Click on download button then it will download successfully.

Now we will start working with Angular JS by downloading and adding reference of Angular JS.

Start here step by step:

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


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


Code details here:


After execute this code page will open like:


Output:



Summary: Summary of this article is that Angular is not a language but it is JavaScript framework which is used to create Single Page Application.

1 comment:

  1. How to Play Pai Gow Poker | BetRivers Casino - Wolverione
    Pai Gow worrione Poker is an online 바카라 version of a poormansguidetocasinogambling traditional table game in which players place kadangpintar bets in the background. herzamanindir.com/ Pai Gow Poker uses only the symbols from a

    ReplyDelete

Powered by Blogger.