Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
loadChildren: './authors/authors.module#AuthorsModule'
},
{
path: 'books',
loadChildren: './books/books.module#BooksModule'
}
];
@NgModule({
providers: [AuthorsService, BooksService, PhotosService],
imports: [
BrowserModule,
HttpClientModule,
SharedModule,
RouterModule.forRoot(appRoutes, { useHash: true }),
NgxJsonapiModule.forRoot({
url: environment.jsonapi_url
})
],
declarations: [AppComponent],
bootstrap: [AppComponent]
})
export class AppModule {}