What is Angular JS?

  • AngularJS is a very powerful JavaScript Framework.
  • It is mainly used in Single Page Application (SPA) projects.
  • Open source, completely free

To Start

You just have to import the below script to start with first simple application.

 <script src = "https://ajax.googleapis.com/ajax/libs/angularjs/1.3.3/angular.min.js"></script>

Lets try a simple application

<html ng-app>
   
   <head>
      <script src = "https://ajax.googleapis.com/ajax/libs/angularjs/1.3.3/angular.min.js"></script>
   </head>
   
   <body>
      <div>
         <label>Enter your name : </label>
         <input type = "text" ng-model = "name" placeholder = "Enter a name here">
         <hr />
         
         <h1>Hello {{name}}!</h1>
      </div>
      
   </body>
</html>

All Done.
Lets see in the next demo.

 

Leave a Reply

Your email address will not be published. Required fields are marked *

 

 

 

Theme by HermesThemes

Copyright © 2018 CoderzHeaven. All Rights Reserved

Please wait...

Subscribe to our newsletter

Want to be notified when our article is published? Enter your email address and name below to be the first to know.