Angular: Empty Fiddle
http://angularjs.org/
HTML
<script src="http://code.angularjs.org/angular-1.0.1.js"></script>
<div ng-controller="MyCtrl">
<p>
<li ng-repeat="x in info">
{{x.name}}
Voted: <input type="checkbox" ng-model="myVar" ng-init="myVar =true">
</li>
</p>
Keep HTML: <input type="checkbox" ng-model="myVar" ng-init="myVar =true">
<h1 ng-show="myVar">Welcome2</h1>
</div>
JavaScript
var app = angular.module("myApp", []);
app.controller("MyCtrl", function($scope) {
$scope.myObj = {
"color" : "white",
"background-color" : "coral",
"font-size" : "60px",
"padding" : "50px"
}
$scope.info=[{name:'woon',age:'18'},
{name:'amir', age:'17'}];
});