Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

refactor(ngSwitch):delete default directive restriction #11119

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
refactor(ngSwitch):delete default directive restriction
delete the directive restriction to avoid code duplication since the default is already applied

Closes #10987
  • Loading branch information
diegofss11 authored and pkozlowski-opensource committed Feb 20, 2015
commit 059776bad2ea2d855f42a216988095700c35affe
1 change: 0 additions & 1 deletion src/ng/directive/ngSwitch.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@
*/
var ngSwitchDirective = ['$animate', function($animate) {
return {
restrict: 'EA',
require: 'ngSwitch',

// asks for $scope to fool the BC controller module
Expand Down