<!doctype html>
<html lang="sr">

<head>
    <meta charset="UTF-8">
    <title>Prekidač</title>
    <script src="../libs/angular-1.2.29/angular.min.js"></script>
</head>

<body ng-app>
    <label>prekidač:
        <input type="checkbox" ng-model="checked" />
    </label>
    <p>{{checked ? "upaljeno" : "ugašeno"}}</p>
</body>

</html>
