0

I do not want to register the Router_Directives for every component.

I want to do it globally as I did before:

import { RouterConfig ,Router, ActivatedRoute, ROUTE_PROVIDERS} from '@angular/router';
bootstrap(AppComponent, [APP_ROUTER_PROVIDERS, HTTP_PROVIDERS, ROUTE_PROVIDERS ]);

but ROUTE_PROVIDERS does not exist/exported in router module.

How can I do that with the RC3 router?

4

1 に答える 1