Why choose AngularJS?

AngularJS with AngularJS Directives, AngularJS AJAX - $http, AngularJS Tables, AngularJS SQL, AngularJS API, AngularJS Twitter Bootstrap, AngularJS Events,.. etc help developer easy develop a application with code easy to read, easy to develop, sort , obvious.

Ok we can look at the following sample to know more.


Description of this sample: User type a theName into the input, that name appear after the "UI tutorials welcome " immediately


 <!doctype html>  
 <html ng-app>  
 <head>  
 <!-- --><script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.4/angular.min.js"></script></head>  
 <body>  
  <div>  
 <label>Name:</label><input type="text" ng-model="theName" placeholder="Enter a name here">  
 <hr>  
 <p>UI tutorials welcome {{theName}}!</p>  
 </div>  
 </body>  
 </html>  


No comments:

Post a Comment

Popular Posts