Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const MATERIAL_MODULES: any[] = [
MdCoreModule,
MdSidenavModule,
MdListModule,
MdToolbarModule,
MdCardModule,
MdRadioModule,
MdInputModule,
MdButtonModule,
MdIconModule
];
@NgModule({
imports: [
MdCoreModule.forRoot(),
MdSidenavModule.forRoot(),
MdListModule.forRoot(),
MdToolbarModule.forRoot(),
MdCardModule.forRoot(),
MdRadioModule.forRoot(),
MdInputModule.forRoot(),
MdButtonModule.forRoot(),
MdIconModule.forRoot()
],
exports: MATERIAL_MODULES
})
export class MaterialModule { }
import { ListRest } from './components/List.rest';
@NgModule({
declarations: [
App,
DisplayFriendPipe,
FriendsGraphql,
FriendsRest,
Intro,
ListGraphql,
ListRest
],
imports: [
BrowserModule,
HttpModule,
MdCoreModule.forRoot(),
MdCardModule.forRoot(),
MdButtonModule.forRoot(),
MdToolbarModule.forRoot(),
RouterModule.forRoot(routes)
],
providers: [
ProfilesService,
],
bootstrap: [App]
})
export class AppModule {}
platformBrowserDynamic().bootstrapModule(AppModule);