icon-demo-module.ts (material2-7.3.5) | : | icon-demo-module.ts (material2-7.3.6) | ||
---|---|---|---|---|
/** | /** | |||
* @license | * @license | |||
* Copyright Google LLC All Rights Reserved. | * Copyright Google LLC All Rights Reserved. | |||
* | * | |||
* Use of this source code is governed by an MIT-style license that can be | * Use of this source code is governed by an MIT-style license that can be | |||
* found in the LICENSE file at https://angular.io/license | * found in the LICENSE file at https://angular.io/license | |||
*/ | */ | |||
import {NgModule} from '@angular/core'; | import {NgModule} from '@angular/core'; | |||
import {MatIconModule} from '@angular/material'; | import {MatIconModule} from '@angular/material'; | |||
import {RouterModule} from '@angular/router'; | ||||
import {IconDemo} from './icon-demo'; | import {IconDemo} from './icon-demo'; | |||
@NgModule({ | @NgModule({ | |||
imports: [ | imports: [ | |||
MatIconModule, | MatIconModule, | |||
RouterModule.forChild([{path: '', component: IconDemo}]), | ||||
], | ], | |||
declarations: [IconDemo], | declarations: [IconDemo], | |||
}) | }) | |||
export class IconDemoModule { | export class IconDemoModule { | |||
} | } | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 2 lines changed or added |