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.