Revert "refactor(core): tree-shake application_module providers (#23477)"

This reverts commit ac2b530f4b.

The change is breaking targets in g3 see cl/194336387.
This commit is contained in:
Igor Minar
2018-04-27 07:13:39 -07:00
parent ac2b530f4b
commit e47bb52084
7 changed files with 20 additions and 58 deletions

View File

@ -5,7 +5,7 @@
* 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 {Compiler, Component, ComponentFactory, ComponentRef, Injector, NgModule, Testability, TestabilityRegistry} from '@angular/core';
import {ApplicationRef, Compiler, Component, ComponentFactory, ComponentRef, Injector, NgModule, Testability, TestabilityRegistry} from '@angular/core';
import {TestBed, getTestBed, inject} from '@angular/core/testing';
import * as angular from '@angular/upgrade/src/common/angular1';
import {DowngradeComponentAdapter, groupNodesBySelector} from '@angular/upgrade/src/common/downgrade_component_adapter';