Hi,
I have one checkbox if i have checked that then enable Name else disable
could you please help me
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" />
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script>
<script type="text/javascript">
var app = angular.module("myApp", []);
app.controller("myCtrl", function ($scope, $http) {
$scope.employees = [{ Active: 0 }];
});
</script>
</head>
<body ng-app="myApp" ng-controller="myCtrl">
<table class="table table-bordered table-hover">
<thead>
<tr>
<th>Active</th>
<th>Name</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="employee in employees">
<td><input type="checkbox" ng-model="employee.Active" /> </td>
<td><input type="text" ng-model="employee.Name" /></td>
</tr>
</tbody>
</table>
</body>
</html>