Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
MdRadioModule,
MdRippleModule,
MdSidenavModule,
MdSliderModule,
MdSlideToggleModule,
MdTabsModule,
MdToolbarModule,
MdTooltipModule,
OverlayModule,
PortalModule,
RtlModule,
];
@NgModule({
imports: [
MdButtonModule.forRoot(),
MdCardModule.forRoot(),
MdCheckboxModule.forRoot(),
MdGridListModule.forRoot(),
MdInputModule.forRoot(),
MdListModule.forRoot(),
MdProgressBarModule.forRoot(),
MdProgressCircleModule.forRoot(),
MdRippleModule.forRoot(),
MdSidenavModule.forRoot(),
MdTabsModule.forRoot(),
MdToolbarModule.forRoot(),
PortalModule.forRoot(),
RtlModule.forRoot(),
// These modules include providers.
MdButtonToggleModule.forRoot(),
@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);
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 {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {routing} from './material-examples.routing';
import {MdButtonModule} from '@angular2-material/button';
import {MdCardModule} from '@angular2-material/card';
import {MaterialExamplesComponent} from './material-examples.component';
@NgModule({
imports: [
CommonModule,
routing,
MdButtonModule.forRoot(),
MdCardModule.forRoot(),
],
providers: [],
declarations: [
MaterialExamplesComponent
],
exports: []
})
export class MaterialExamplesModule {
}