refactor(router): use DI imports from public API

This allows us to create smaller CJS bundles for router,
where the bundle doesn't duplicate code from angular2 core.
This commit is contained in:
Pawel Kozlowski
2015-10-11 13:17:06 +02:00
parent 6abed8d996
commit 8667b760f4
7 changed files with 7 additions and 7 deletions

View File

@ -24,7 +24,7 @@ import {
RouteDefinition
} from './route_config_impl';
import {reflector} from 'angular2/src/core/reflection/reflection';
import {Injectable} from 'angular2/src/core/di';
import {Injectable} from 'angular2/angular2';
import {normalizeRouteConfig, assertComponentExists} from './route_config_nomalizer';
import {parser, Url, pathSegmentsToUrl} from './url_parser';