diff --git a/src/ng/directive/ngSwitch.js b/src/ng/directive/ngSwitch.js index 4c11f62f0421..38bc5a5537c8 100644 --- a/src/ng/directive/ngSwitch.js +++ b/src/ng/directive/ngSwitch.js @@ -130,7 +130,6 @@ */ var ngSwitchDirective = ['$animate', function($animate) { return { - restrict: 'EA', require: 'ngSwitch', // asks for $scope to fool the BC controller module