bootstrap 在 AngularJs 的上下文中意味着什么?

What does bootstrap means in a AngularJs's context?

我是 AngularJs 的新手,我正在阅读初学者教程 http://www.ng-newsletter.com/posts/beginner2expert-how_to_start.html

作者在某处说“...当我们刷新页面时,Angular 将 bootstrap myApp。”。

这到底是什么意思?

我知道统计中的bootstrap方法,我知道Bootsrap3,但是我不明白boostarp在这个上下文中是什么意思。 有人可以解释一下吗?

引导 Angular 意味着启动 Angular 应用程序。它可以是自动的,也可以通过调用方法 angular.bootstrap 手动完成。来自文档:

Angular initializes automatically upon DOMContentLoaded event or when the angular.js script is evaluated if at that time document.readyState is set to 'complete'. At this point Angular looks for the ng-app directive which designates your application root. If the ng-app directive is found then Angular will:

  1. load the module associated with the directive.
  2. create the application injector
  3. compile the DOM treating the ng-app directive as the root of the compilation. This allows you to > tell it to treat only a portion of the DOM as an Angular application.

您可以阅读更多文档:Bootstrap