forked from angular/code.angularjs.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathangular.bootstrap.html
21 lines (20 loc) · 1.01 KB
/
angular.bootstrap.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<h1><code ng:non-bindable="">angular.bootstrap</code>
<span class="hint">(API in module <code ng:non-bindable="">ng</code>
)</span>
</h1>
<div><h2 id="Description">Description</h2>
<div class="description"><p>Use this function to manually start up angular application.</p>
<p>See: <a href="guide/bootstrap">Bootstrap</a></p></div>
<h2 id="Usage">Usage</h2>
<div class="usage"><pre class="prettyprint linenums">angular.bootstrap(element[, modules]);</pre>
<h3 id="Parameters">Parameters</h3>
<ul class="parameters"><li><code ng:non-bindable="">element – {Element} – </code>
<p>DOM element which is the root of angular application.</p></li>
<li><code ng:non-bindable="">modules<i>(optional)</i> – {Array<String|Function>=} – </code>
<p>an array of module declarations. See: <a href="api/angular.module"><code>modules</code></a></p></li>
</ul>
<h3 id="Returns">Returns</h3>
<div class="returns"><code ng:non-bindable="">{AUTO.$injector}</code>
– <p>Returns the newly created injector for this app.</p></div>
</div>
</div>