Project

General

Profile

1
import { NgModule}            from '@angular/core';
2
import { CommonModule }       from '@angular/common';
3
import { RouterModule }       from '@angular/router';
4
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
5

    
6
import { MailPrefsComponent } from './mailPrefs.component';
7
import { MailPrefsService }   from './mailPrefs.service';
8
import {ErrorMessagesModule}    from '../../utils/errorMessages.module';
9
import { MatSlideToggleModule } from '@angular/material/slide-toggle';
10

    
11
@NgModule({
12
  imports: [
13
    CommonModule, RouterModule, FormsModule, ReactiveFormsModule, ErrorMessagesModule, MatSlideToggleModule
14
  ],
15
  declarations: [
16
    MailPrefsComponent
17
  ],
18
  providers:[MailPrefsService],
19
  exports: [
20
    MailPrefsComponent
21
  ]
22
})
23
export class MailPrefsModule { }
(4-4/4)