MCPcopy
hub / github.com/angular/angular / createApplication

Function createApplication

packages/platform-browser/src/browser.ts:155–164  ·  view source on GitHub ↗
(
  options?: ApplicationConfig,
  context?: BootstrapContext,
)

Source from the content-addressed store, hash-verified

153 * @publicApi
154 */
155export async function createApplication(
156 options?: ApplicationConfig,
157 context?: BootstrapContext,
158): Promise<ApplicationRef> {
159 if ((typeof ngJitMode === 'undefined' || ngJitMode) && typeof fetch === 'function') {
160 await resolveJitResources();
161 }
162
163 return internalCreateApplication(createProvidersConfig(options, context));
164}
165
166function createProvidersConfig(options?: ApplicationConfig, context?: BootstrapContext) {
167 return {

Calls 3

resolveJitResourcesFunction · 0.85
createProvidersConfigFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…