diff --git a/modules/angular2/router.ts b/modules/angular2/router.ts index 63254fec5e..9ed197ed3d 100644 --- a/modules/angular2/router.ts +++ b/modules/angular2/router.ts @@ -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'; diff --git a/modules/angular2/src/router/router_outlet.ts b/modules/angular2/src/router/router_outlet.ts index cc3c6768b0..5958e686dc 100644 --- a/modules/angular2/src/router/router_outlet.ts +++ b/modules/angular2/src/router/router_outlet.ts @@ -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';