refactor(router): use compiler's public API in imports

Closes #4662
This commit is contained in:
Pawel Kozlowski 2015-10-11 13:28:56 +02:00
parent 8667b760f4
commit f443ecbfa6
2 changed files with 11 additions and 5 deletions

View File

@ -28,9 +28,8 @@ import {RouterOutlet} from './src/router/router_outlet';
import {RouterLink} from './src/router/router_link';
import {RouteRegistry} from './src/router/route_registry';
import {Location} from './src/router/location';
import {provide, OpaqueToken, Provider} from 'angular2/angular2';
import {ApplicationRef, provide, OpaqueToken, Provider} from 'angular2/angular2';
import {CONST_EXPR} from './src/core/facade/lang';
import {ApplicationRef} from './src/core/application_ref';
import {BaseException} from 'angular2/src/core/facade/exceptions';

View File

@ -3,9 +3,16 @@ import {StringMapWrapper} from 'angular2/src/core/facade/collection';
import {isBlank, isPresent} from 'angular2/src/core/facade/lang';
import {BaseException, WrappedException} from 'angular2/src/core/facade/exceptions';
import {Directive, Attribute} from 'angular2/src/core/metadata';
import {DynamicComponentLoader, ComponentRef, ElementRef} from 'angular2/src/core/linker';
import {Injector, provide, Dependency} from 'angular2/angular2';
import {
Directive,
Attribute,
DynamicComponentLoader,
ComponentRef,
ElementRef,
Injector,
provide,
Dependency
} from 'angular2/angular2';
import * as routerMod from './router';
import {ComponentInstruction, RouteParams} from './instruction';