Enable check box programmatically using angularjs and Bootstrap?

+1 vote
26 views
asked Apr 28, 2017 in AngularJS by anonymous
Hi All

 How to  Enable check box programmatically using angularjs and Bootstrap?

1 Answer

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

Hi try this code

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

In your controller

$scope.v = true; 
...