mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-02-23 02:16:23 +00:00
12 lines
249 B
JavaScript
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;
|
|
};
|
|
});
|