Data binding in Angularjs, Angularjs expressions and ANGULARJS data are synchronized.
<! DOCTYPE html>
<meta http-equiv= "Content-type" content= "text/html; charset =utf-8 "/>
<meta http-equiv=" x-ua-compatible "content=" Ie=edge "/>
<meta name=" viewport "content=" Width=device-width,initial-scale=1 "/>
<title></title>
<meta charset=" Utf-8 "/>
<link rel= "stylesheet" href= "Bootstrap-3.3.5/dist/css/bootstrap.min.css"/>
<body
<div class= "container",
<div data-ng-app= "" data-ng-init= "quantity=1;price=9.99";
<p >ANGULARJS Data binding: Price calculator </p>
Quantity: <input type= "number" data-ng-model= "Quantity"/>
Price: <input Type= "number" data-ng-model= "price"/>
<!--<p><b> total: </b><span data-ng-bind= " Quantity*price "></SPAN></P>-->
<p><b> Total Price is: </b>{{quantity*price | currency} }</p>
</div>
</div>
<script src= "Jquery/jquery-2.1.4.js" ></script>
<script src= "Bootstrap-3.3.5/dist/js/bootstrap.min.js" ></script>
<script src= "Http://apps.bdimg.com/libs/angular.js/1.4.6/angular.min.js" ></script>
</body>
AngularJS Data Binding