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

Commit 0c4997f

Browse files
committed
style: name anonymous fn that causes initial digest for better debugging/profiling
1 parent d713ad1 commit 0c4997f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Angular.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1417,7 +1417,7 @@ function bootstrap(element, modules, config) {
14171417
modules.unshift('ng');
14181418
var injector = createInjector(modules, config.strictDi);
14191419
injector.invoke(['$rootScope', '$rootElement', '$compile', '$injector',
1420-
function(scope, element, compile, injector) {
1420+
function bootstrapApply(scope, element, compile, injector) {
14211421
scope.$apply(function() {
14221422
element.data('$injector', injector);
14231423
compile(element)(scope);

0 commit comments

Comments
 (0)