Podcast/lib/angular/docs/partials/api/angular.bootstrap.html
2013-04-07 10:12:25 +02:00

21 lines
1 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<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&lt;String|Function&gt;=} </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>