angular-engine.js
Version:
Using AngularJS with the Closure Compiler =========================================
13 lines (10 loc) • 329 B
JavaScript
if (window.angular.bootstrap) {
//AngularJS is already loaded, so we can return here...
if (window.console) {
console.log('WARNING: Tried to load angular more than once.');
}
return;
}
//try to bind to jquery now so that one can write jqLite(document).ready()
//but we will rebind on bootstrap again.
bindJQuery();