@@ -952,7 +952,8 @@ describe('$compile', function() {
952
952
} ) ) ;
953
953
954
954
955
- it ( 'should allow creation of new isolated scopes' , inject ( function ( $rootScope , $compile , log ) {
955
+ it ( 'should allow creation of new isolated scopes for directives' , inject (
956
+ function ( $rootScope , $compile , log ) {
956
957
element = $compile ( '<div><span iscope><a log></a></span></div>' ) ( $rootScope ) ;
957
958
expect ( log ) . toEqual ( 'LOG; log-002-001; 002' ) ;
958
959
$rootScope . name = 'abc' ;
@@ -961,7 +962,7 @@ describe('$compile', function() {
961
962
} ) ) ;
962
963
963
964
964
- it ( 'should allow creation of new isolated scopes' , inject (
965
+ it ( 'should allow creation of new isolated scopes for directives with templates ' , inject (
965
966
function ( $rootScope , $compile , log , $httpBackend ) {
966
967
$httpBackend . expect ( 'GET' , 'tiscope.html' ) . respond ( '<a log></a>' ) ;
967
968
element = $compile ( '<div><span tiscope></span></div>' ) ( $rootScope ) ;
@@ -973,7 +974,7 @@ describe('$compile', function() {
973
974
} ) ) ;
974
975
975
976
976
- it ( 'should correctly create the scope hierachy properly ' , inject (
977
+ it ( 'should correctly create the scope hierachy' , inject (
977
978
function ( $rootScope , $compile , log ) {
978
979
element = $compile (
979
980
'<div>' + //1
0 commit comments