AngularJS Introduction



What is AngularJS ?

  1. AngularJS is an open-source JavaScript framework
  2. AngularJS is created by Google inc.
  3. AngularJS is based on model–view–controller(MVC) capability
  4. AngularJS is used to create browser based application.
  5. AngularJS is simple and syntax are easy to write.

Example :

<!DOCTYPE html>
<html ng-app>
<head>
    <title>AngularJS Introduction</title>
    <script src="angular.min.js"></script>
 
</head>
<body>
     
    Enter your name :
    <input type="text" ng-model="yourname" />
    <h1>Hello {{ yourname }}</h1>
     
</body>
</html>

Output of Code :


We will be learning the AngularJS in upcoming tutorials. In the next chapter we will learn basic example of Angular JS.