/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {ReflectiveInjector, coreBootstrap} from '@angular/core'; import {BROWSER_APP_PROVIDERS, browserPlatform} from '@angular/platform-browser'; import {Basic} from './basic'; import {BasicNgFactory} from './basic.ngfactory'; const appInjector = ReflectiveInjector.resolveAndCreate(BROWSER_APP_PROVIDERS, browserPlatform().injector); coreBootstrap(BasicNgFactory, appInjector);