AngularJS Example for Beginners

AngularJS is a JavaScript framework.

It is use to develop single page web site .It work dynamically on the page.

If you familiar with Java Script than you can understand easily.

You can save this code in Notepad with FileName.html.

And do some changing from your self.

  1. <!DOCTYPE html>  
  2. <html>  
  3.     <script src= "http://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.min.js"></script>  
  4.     <body>  
  5.         <div ng-app="">  
  6.             <p>Input something in the input box:</p>  
  7.             <p>Name:   
  8.                 <input type="text" ng-model="name">  
  9.             </p>  
  10.             <p ng-bind="name"></p>  
  11.             <p>Age:   
  12.                 <input type="text" ng-model="age">  
  13.             </p>  
  14.             <p ng-bind="age"></p>  
  15.         </div>  
  16.     </body>  
  17. </html>