Update router.jade (#3265)

This commit is contained in:
Deborah Kurata 2017-02-19 23:00:26 -08:00 committed by Jules Kremer
parent 2ba5131b9c
commit c5c4ad0c4d
1 changed files with 1 additions and 1 deletions

View File

@ -2576,7 +2576,7 @@ a#custom-preloading
Shortly, you'll extend the `AdminDashboardComponent` to inject this service and display its `preloadedModules` array.
But first, make a few changes to the `AppRoutingModule`.
1. Import `SelectivePreloadingStrategy` into .
1. Import `SelectivePreloadingStrategy` into `AppRoutingModule`.
1. Replace the `PreloadAllModules` strategy in the call to `forRoot` with this `SelectivePreloadingStrategy`.
1. Add the `SelectivePreloadingStrategy` strategy to the `AppRoutingModule` providers array so it can be injected
elsewhere in the app.