In this example, We are setting a variable value as true and assigning the same variable as ng-model of checkbox "isCheck" is a angular variable with ng-model of checkbox. So by default the checkbox will be selected

<!DOCTYPE html> <html xmlns=""> <head> <title>Welcome to LearnKode - A code learning platform</title> <script src=""></script> </head> <body ng-app> <div> <div class="container" ng-init="isCheck=true"> Are you 18+ <input type="checkbox" ng-model="isCheck" /> </div> </div> </body> </html>