AngularJS
AngularJS is basically a structural framework. These are dynamic web applications. It is a very powerful language. AngularJS is an open source language. AngularJS language is easy and fast compared to other script languages. AngularJS is used to have Single Page Application (SAP) projects. It is very easy to update, insert and get information from our HTML document.
There are three important parts in AngularJS,
- ng-aap
- ng-model
- ng-bind
Syntax:
- <div ng-app="modulename">
- here right code..
- </div>
Syntax:
- <element ng-model="name"></element>
Syntax:
- <element ng-bind="expression"></element>

Code
- <!DOCTYPE html>
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title></title>
- <script src="Scripts/angular.min.js"></script>
- </head>
- <body>
- <p>Fill the TextBox</p>
- <div ng-app="App" ng-controller="myCtrl"> First Name: <input type="text" ng-model="firstName"><br> Last Name: <input type="text" ng-model="lastName"><br> Degree: <input type="text" ng-model="Degree"><br> <br> Full Description: {{firstName + " " + lastName +" "+ Degree}} </div>
- <script>
- var app = angular.module('App', []);
- app.controller('myCtrl', function($scope) {
- $scope.firstName = "";
- $scope.lastName = "";
- $scope.degree = "";
- });
- </script>
- </body>
- </html>



Gagan SharmaPosted Aug 8, 2016, 5:25 AM EDT
Gud example
Avinash ThakurPosted Aug 5, 2016, 10:11 PM EDT
Thanks Vivek
Vivek SharmaPosted Aug 5, 2016, 10:09 AM EDT
Nice explanation avinash, keep it up !
Kartik KumarPosted Aug 5, 2016, 5:14 AM EDT
Nice
Vignesh ManiTOP 100Posted Aug 5, 2016, 2:51 AM EDT
Nice
SubashPosted Aug 5, 2016, 12:12 AM EDT
Nice Work
kalu singh raoPosted Aug 4, 2016, 9:41 PM EDT
Good
Bhavik PatelPosted Aug 4, 2016, 6:34 PM EDT
Plz mention angular js version