mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This also does no more depend on a version on npm for the compiler_cli. Also runs the tests for tools/metadata
8 lines
399 B
TypeScript
8 lines
399 B
TypeScript
import {coreBootstrap, ReflectiveInjector} from '@angular/core';
|
|
import {browserPlatform, BROWSER_APP_STATIC_PROVIDERS} from '@angular/platform-browser';
|
|
import {BasicNgFactory} from './basic.ngfactory';
|
|
import {Basic} from './basic';
|
|
|
|
const appInjector =
|
|
ReflectiveInjector.resolveAndCreate(BROWSER_APP_STATIC_PROVIDERS, browserPlatform().injector);
|
|
coreBootstrap(appInjector, BasicNgFactory);
|