Guest User

Untitled

a guest
Jan 16th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. import { NgModule } from '@angular/core';
  2. import { RouterModule, Routes } from '@angular/router';
  3. import { CustomPreloadingStrategy } from './custom-preloading';
  4.  
  5. -------
  6. -------
  7.  
  8. @NgModule({
  9. imports: [
  10. RouterModule.forRoot(routes,
  11. {
  12. preloadingStrategy: CustomPreloadingStrategy
  13. })
  14. ],
  15. exports: [
  16. RouterModule
  17. ]
  18. })
  19. export class AppRoutingModule { }
Add Comment
Please, Sign In to add comment