Files
sogo/UI/WebServerResources/scss/components/switch/demoBasicUsage/script.js

12 lines
249 B
JavaScript

angular.module('switchDemo1', ['ngMaterial'])
.controller('SwitchDemoCtrl', function($scope) {
$scope.data = {
cb1: true,
cb4: true
};
$scope.onChange = function(cbState){
$scope.message = "The switch is now: " + cbState;
};
});