1. Add a reference to AngularJS
Here I have used the CDN URL. You are free to download the library into your folder and include it.
2. Add the ng-app reference.
This will tell AngularJS that this section is an AngularJS app and all the elements inside should be scanned for AngularJS tags.
3. Use AngularJS directives to add data binding
Name: <input type="text" ng-model="customername" />
ng-model will bind the text that you enter in the textbox to the variable customername. Note that, the variable is in the global scope.
In this AngularJS code, whatever you type in the textbox will be displayed in the message in real-time. Try it out and see the power of AngularJS in just a few lines!
<title>AngularJS Hello World</title>
Name: <input type="text" ng-model="namea" />
Hello, my dear friend !
Schogini assures 24x7 - 6 hour turn around ticket response time and 24 hour Email response time (email@example.com)