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
This commit is contained in:
Igor Minar
2011-10-25 08:47:02 -07:00
parent 950d02b4d4
commit d7ba5bc83b
5 changed files with 79 additions and 168 deletions

View File

@@ -99,9 +99,7 @@
// empty the cache to prevent mem leaks
globalVars = {};
var config = angularJsConfig(document);
angularInit(config, document);
angularInit({autobind:true}, document);
}
if (window.addEventListener) {