all files / app/main/components/material-docs/demo-partials/switch/demoBasicUsage/ script.js

20% Statements 1/5
100% Branches 0/0
0% Functions 0/2
20% Lines 1/5
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15                            
angular.module('switchDemo1', ['ngMaterial'])
.controller('SwitchDemoCtrl', function($scope) {
  $scope.data = {
    cb1: true,
    cb4: true,
    cb5: false
  };
 
  $scope.message = 'false';
 
  $scope.onChange = function(cbState) {
  	$scope.message = cbState;
  };
});