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:
@ -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';
|
||||
|
||||
|
Reference in New Issue
Block a user