What is a Angular Js?
it is javascript framework with some rules to be followed to apply them in your basic html page.
Binding:-
binding is used to display your data in your html parallely you feed that data in some form.
also it is used to display data in your required manner and style in html.
e.g- <html ng-app="myApp"> // ng-aap is a built in directive which is a attribute type and myApp is //name of your module or we can say its the starting point of angularjs //like a main function in your java program.
<body>
<div ng-controller="FirstCtrl">
<input type="text" ng-model="message">// basically a directive add functionality to the existing //html elements in case here it is a input tag but it got a //additional functionality of model using which text // //entered in input field will be treated as data for binding //purpose with any DOM element of html.
<h1>{{message}}</h1> // the curly braces will do the binding
</body>
</html>
it is javascript framework with some rules to be followed to apply them in your basic html page.
Binding:-
binding is used to display your data in your html parallely you feed that data in some form.
also it is used to display data in your required manner and style in html.
e.g- <html ng-app="myApp"> // ng-aap is a built in directive which is a attribute type and myApp is //name of your module or we can say its the starting point of angularjs //like a main function in your java program.
<body>
<div ng-controller="FirstCtrl">
<input type="text" ng-model="message">// basically a directive add functionality to the existing //html elements in case here it is a input tag but it got a //additional functionality of model using which text // //entered in input field will be treated as data for binding //purpose with any DOM element of html.
<h1>{{message}}</h1> // the curly braces will do the binding
</body>
</html>