blob: 9429d4fcf3d28e903488d00ef45cfbcdfe64dd8b (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
 |   if (window.angular.bootstrap) {
    //AngularJS is already loaded, so we can return here...
    console.log('WARNING: Tried to load angular more than once.');
    return;
  }
  //try to bind to jquery now so that one can write angular.element().read()
  //but we will rebind on bootstrap again.
  bindJQuery();
  publishExternalAPI(angular);
  jqLite(document).ready(function() {
    angularInit(document, bootstrap);
  });
})(window, document);
 |