First program of Angular JS:-
...................................................................................................................................................
step 1st:- download angular library
step2nd:- <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"> </script>
step3rd:- Use angular base directive
ng-app="" for application
ng-model :- it is used to contain data.
{{}} :- angular expression it is used to show result
<!DOCTYPE html>
<html>
<head>
<title></title>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"> </script>
</head>
<body ng-app="">
<input type="text" ng-model="a" />
<br>
<br>
{{a}}
</body>
</html>
ng-bind:- this directive element is used to show data as a Html attribute under any HTML element such as <p><h1> ,<input> etc
...................................................................................................................................................
step 1st:- download angular library
step2nd:- <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"> </script>
step3rd:- Use angular base directive
ng-app="" for application
ng-model :- it is used to contain data.
{{}} :- angular expression it is used to show result
<!DOCTYPE html>
<html>
<head>
<title></title>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"> </script>
</head>
<body ng-app="">
<input type="text" ng-model="a" />
<br>
<br>
{{a}}
</body>
</html>
ng-bind:- this directive element is used to show data as a Html attribute under any HTML element such as <p><h1> ,<input> etc
POST Answer of Questions and ASK to Doubt