Introduction
Angular JS is a very powerful JavaScript library or we can say open-source web application framework maintained by Google. It is used in Single Page Application (SPA) projects. It extends the HTML DOM with additional attributes (in other words directives) and binds data to HTML with expressions, hence making it more responsive to user actions.
It is licensed under the Apache version 2.0 license.
Prerequisites
One should have a basic understanding of JavaScript and any text editor (I'll be using Visual Studio 2015). Since we are developing web-based applications using Angular JS, knowledge of HTML, CSS and AJAX will be an advantage.
Let's consider the following example:
- <!-- Angular JS Example -->
- <div ng-app="">
- <p>
- <b>Name:</b> <input type="text" ng-model="name" />
- </p>
- <h2 ng-bind="name">
- </h2>
- </div>
- The ng-app directive defines an Angular JS application.
- The ng-model directive binds the value of HTML controls (input, select and text area) to application data.
- The ng-bind directive binds application data to the HTML view.
Complete Code


Karthik Muthu KaruppanPosted Apr 23, 2015, 11:20 AM
good one
Rahul Kumar SaxenaPosted Apr 21, 2015, 10:42 PM
Good one
Santhakumar MunuswamyPosted Apr 21, 2015, 10:21 PM
Thanks for nice one
Krishnanand SivarajPosted Apr 21, 2015, 10:07 PM
Thanks for sharing