@@ -1826,7 +1826,7 @@ function $CompileProvider($provide, $$sanitizeUriProvider) {
1826
1826
return value || null ;
1827
1827
} else if ( isArray ( require ) ) {
1828
1828
value = [ ] ;
1829
- forEach ( require , function ( require ) {
1829
+ forEach ( require , function getControllersEach ( require ) {
1830
1830
value . push ( getControllers ( directiveName , require , $element , elementControllers ) ) ;
1831
1831
} ) ;
1832
1832
}
@@ -1861,7 +1861,7 @@ function $CompileProvider($provide, $$sanitizeUriProvider) {
1861
1861
// TODO: merge `controllers` and `elementControllers` into single object.
1862
1862
controllers = { } ;
1863
1863
elementControllers = { } ;
1864
- forEach ( controllerDirectives , function ( directive ) {
1864
+ forEach ( controllerDirectives , function nodeLinkControllers ( directive ) {
1865
1865
var locals = {
1866
1866
$scope : directive === newIsolateScopeDirective || directive . $$isolateScope ? isolateScope : scope ,
1867
1867
$element : $element ,
@@ -1902,7 +1902,7 @@ function $CompileProvider($provide, $$sanitizeUriProvider) {
1902
1902
isolateBindingContext = isolateScopeController . instance ;
1903
1903
}
1904
1904
1905
- forEach ( isolateScope . $$isolateBindings = newIsolateScopeDirective . $$isolateBindings , function ( definition , scopeName ) {
1905
+ forEach ( isolateScope . $$isolateBindings = newIsolateScopeDirective . $$isolateBindings , function nodeLinkIsolated ( definition , scopeName ) {
1906
1906
var attrName = definition . attrName ,
1907
1907
optional = definition . optional ,
1908
1908
mode = definition . mode , // @, =, or &
@@ -1974,7 +1974,7 @@ function $CompileProvider($provide, $$sanitizeUriProvider) {
1974
1974
} ) ;
1975
1975
}
1976
1976
if ( controllers ) {
1977
- forEach ( controllers , function ( controller ) {
1977
+ forEach ( controllers , function nodeLinkInitController ( controller ) {
1978
1978
controller ( ) ;
1979
1979
} ) ;
1980
1980
controllers = null ;
0 commit comments