<! DOCTYPE html>
<meta http-equiv= "Content-type" content= "text/html; Charset=utf-8 "/>
<meta http-equiv= "x-ua-compatible" content= "Edge"/>
<meta name= "viewport" content= "width=device-width,initial-scale=1"/>
<title></title>
<meta charset= "Utf-8"/>
<link rel= "stylesheet" href= "Bootstrap/css/bootstrap.min.css"/>
<style>
</style>
<body>
<div class= "Container" style= "padding:50px" >
<div data-ng-app= "myApp" data-ng-controller= "Myctrl" >
<p> Name: <input type= "text" data-ng-model= "name"/></p>
<p> Sex: <input type= "Radio" data-ng-model= "Sex" value= "male" name= "sex"/> Male <input type= "Radio" data-ng-model= "Sex" value= "female" name= "sex"/> Women </p>
<p> Interests: <input type= "checkbox" value= "Run" data-ng-model= "Interest1"/> Run <input type= "checkbox" Value= " Badminton "data-ng-model=" Interest2 "/> Badminton <input type=" checkbox "value=" Programming "data-ng-model=" Interest3 "/> Programming </p >
<br/><fieldset>
<legend>{{name}}: Personal information is as follows:</legend>
<p> Gender:{{sex}}</p>
<p> Interest:{{interest1}}{{interest2}}{{interest3}}</p>
</fieldset>
</div>
</div>
<script src= "Jquery/jquery-2.2.0.min.js" ></script>
<script src= "Bootstrap/js/bootstrap.min.js" ></script>
<script src= "Http://apps.bdimg.com/libs/angular.js/1.4.6/angular.min.js" ></script>
<script>
Angular.module ("myApp", []). Controller ("Myctrl", function ($scope) {
})
</script>
</body>
Angularjs Data Bidirectional binding