已经解决了此链接:https://github.com/fronteed/iCheck/issues/62由wajatimur
webApp.directive('icheck', function($timeout, $parse) { return { require: 'ngModel', link: function($scope, element, $attrs, ngModel) { return $timeout(function() { var value; value = $attrs['value']; $scope.$watch($attrs['ngModel'], function(newValue){ $(element).iCheck('update'); }) return $(element).iCheck({ checkboxClass: 'icheckbox_flat-aero', radioClass: 'iradio_flat-aero' }).on('ifChanged', function(event) { if ($(element).attr('type') === 'checkbox' && $attrs['ngModel']) { $scope.$apply(function() { return ngModel.$setViewValue(event.target.checked); }); } if ($(element).attr('type') === 'radio' && $attrs['ngModel']) { return $scope.$apply(function() { return ngModel.$setViewValue(value); }); } }); }); } };});


