angular-ui-switch icon indicating copy to clipboard operation
angular-ui-switch copied to clipboard

Switch name chnage its not working

Open Gajendrasinh opened this issue 10 years ago • 0 comments

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); }; });

Gajendrasinh avatar Apr 11 '15 06:04 Gajendrasinh