Skip to content

Commit f12da80

Browse files
diegofss11netman92
authored andcommitted
refactor(ngSwitch):delete default directive restriction
delete the directive restriction to avoid code duplication since the default is already applied Closes angular#10987 Closes angular#11119
1 parent d2586bf commit f12da80

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/ng/directive/ngSwitch.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@
130130
*/
131131
var ngSwitchDirective = ['$animate', function($animate) {
132132
return {
133-
restrict: 'EA',
134133
require: 'ngSwitch',
135134

136135
// asks for $scope to fool the BC controller module

0 commit comments

Comments
 (0)