Wednesday, May 17, 2017

AngularJS Basics - Part 1

                                                                  AngularJS


What is AngularJS

  • ·         Framework by google
  • ·         It works on DOM element with attributes.
  • ·         Perfect for SPA (Single Page Application) 

Below highlighted attributes are component of AngularJS

 


Sample Code :
<!DOCTYPE html>
<html lang="en-US">
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script>
<body>

<div ng-app="">
  
<p>Name : <input type="text" ng-model="name"></p>
  
<h1>Hello {{name}}</h1>
</div>

</body>
</html>

No comments:

Post a Comment

Your comment is pending for approval

AngularJS Basics - Part 1

                                                                  AngularJS What is AngularJS ·          Framework by googl...