Let me introduce What is AngularJs?
Main Features of AngularJs
- Two Way Data-Binding
- MVC
- Dependency Injection
- Directives
- Testing
1. HTML
2. CSS
3. Java Script
Environment Setup AngularJs
It can be added to an HTML page with a <script> tag, you can use cdn or simply download from their official Site - https://angularjs.org/
<script
src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.min.js"></script>
Key Concept About AngularJs
AngularJS extends HTML with ng-directives.
The ng-app directive defines an AngularJS application.
The ng-model directive binds the value of HTML controls (input, select, textarea) to application data.
The ng-bind directive binds application data to the HTML view.
AngularJs Hello World Program
<html> <head> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.min.js"></script> <head/> <body> <div ng-app=""> <p>Say Hi to Angular: <input type="text" ng-model="hellovar"></p> <p ng-bind="hellovar"></p> </div> </body> </html>
Let run this code on your PC