From d7ba5bc83ba9a8937384ea677331c5156ed6772d Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Tue, 25 Oct 2011 08:47:02 -0700 Subject: feat(bootstrap): drop angular.js file name restrictions for autobind The last script element in the dom is always us if the script that contains angular is loaded synchronously. For async loading manual bootstrap needs to be performed. Close #621 --- src/angular.suffix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/angular.suffix') diff --git a/src/angular.suffix b/src/angular.suffix index e8bb83b7..d38d3130 100644 --- a/src/angular.suffix +++ b/src/angular.suffix @@ -1,6 +1,8 @@ + var config = angularJsConfig(document); + jqLiteWrap(document).ready(function() { - angularInit(angularJsConfig(document), document); + angularInit(config, document); }); })(window, document); -- cgit v1.2.3