@@ -1770,7 +1770,7 @@ function $CompileProvider($provide, $$sanitizeUriProvider) {
1770
1770
return value || null ;
1771
1771
} else if ( isArray ( require ) ) {
1772
1772
value = [ ] ;
1773
- forEach ( require , function ( require ) {
1773
+ forEach ( require , function getControllersEach ( require ) {
1774
1774
value . push ( getControllers ( directiveName , require , $element , elementControllers ) ) ;
1775
1775
} ) ;
1776
1776
}
@@ -1799,7 +1799,7 @@ function $CompileProvider($provide, $$sanitizeUriProvider) {
1799
1799
// TODO: merge `controllers` and `elementControllers` into single object.
1800
1800
controllers = { } ;
1801
1801
elementControllers = { } ;
1802
- forEach ( controllerDirectives , function ( directive ) {
1802
+ forEach ( controllerDirectives , function nodeLinkControllers ( directive ) {
1803
1803
var locals = {
1804
1804
$scope : directive === newIsolateScopeDirective || directive . $$isolateScope ? isolateScope : scope ,
1805
1805
$element : $element ,
@@ -1840,7 +1840,7 @@ function $CompileProvider($provide, $$sanitizeUriProvider) {
1840
1840
isolateBindingContext = isolateScopeController . instance ;
1841
1841
}
1842
1842
1843
- forEach ( isolateScope . $$isolateBindings = newIsolateScopeDirective . $$isolateBindings , function ( definition , scopeName ) {
1843
+ forEach ( isolateScope . $$isolateBindings = newIsolateScopeDirective . $$isolateBindings , function nodeLinkIsolated ( definition , scopeName ) {
1844
1844
var attrName = definition . attrName ,
1845
1845
optional = definition . optional ,
1846
1846
mode = definition . mode , // @, =, or &
@@ -1912,7 +1912,7 @@ function $CompileProvider($provide, $$sanitizeUriProvider) {
1912
1912
} ) ;
1913
1913
}
1914
1914
if ( controllers ) {
1915
- forEach ( controllers , function ( controller ) {
1915
+ forEach ( controllers , function nodeLinkInitController ( controller ) {
1916
1916
controller ( ) ;
1917
1917
} ) ;
1918
1918
controllers = null ;
0 commit comments