apollodec/Apollo/bower_components/angular-ui-switch/example/app.js
venbatechnologies@gmail.com d06b1c0cba status file
2017-12-07 11:31:25 +05:30

13 lines
274 B
JavaScript
Executable File

angular.module('app', ['uiSwitch'])
.controller('MyController', function($scope) {
$scope.enabled = true;
$scope.onOff = true;
$scope.yesNo = true;
$scope.changeCallback = function() {
console.log('This is the state of my model ' + $scope.enabled);
};
});