Enable check box programmatically using angularjs and Bootstrap?

+1 vote
20 views
asked Apr 28 in AngularJS by anonymous
Hi All

 How to  Enable check box programmatically using angularjs and Bootstrap?

1 Answer

0 votes
answered Apr 28 by admin (8,115 points)

Hi try this code

<input type="checkbox" ng-checked="v" ng-click="checkAll()" />

In your controller

$scope.v = true; 
...