Open Gajendrasinh opened 9 years ago
Hi when i just change the name of switch its not working
Enabled: {{ yesNo2}}
I am just replace name yesNo to change yesNo2 but its not working
angular.module('app', ['uiSwitch'])
.controller('MyController', function($scope) { $scope.enabled = true; $scope.onOff = true; $scope.yesNo2 = true;
$scope.changeCallback = function() { console.log('This is the state of my model ' + $scope.enabled); }; });
Hi when i just change the name of switch its not working
Enabled: {{ yesNo2}}
I am just replace name yesNo to change yesNo2 but its not working
angular.module('app', ['uiSwitch'])
.controller('MyController', function($scope) { $scope.enabled = true; $scope.onOff = true; $scope.yesNo2 = true;
$scope.changeCallback = function() { console.log('This is the state of my model ' + $scope.enabled); }; });