You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
it("should use the correct transclusion scope if there is a transclude directive on the ng-swith-when/ng-switch-default element",inject(function($rootScope,$compile){
254
+
it("should interoperate with other transclusion directives like ngRepeat",inject(function($rootScope,$compile){
255
255
element=$compile(
256
-
'<div ng-switch="foo">'+
257
-
'<pre ng-switch-when="item1" ng-repeat="bar in bars">'+
258
-
'foo = {{foo}}'+
259
-
'bar = {{bar}}'+
260
-
'$index = {{$index}}'+
261
-
'</pre>'+
256
+
'<div ng-switch="value">'+
257
+
'<div ng-switch-when="foo" ng-repeat="foo in foos">{{value}}:{{foo}}|</div>'+
258
+
'<div ng-switch-default ng-repeat="bar in bars">{{value}}:{{bar}}|</div>'+
0 commit comments