import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { UniversalModule } from 'angular2-universal';
import { AppComponent } from './app.component'
import { HomeComponent } from './components/home/home.component';
import { FetchDataComponent } from './components/fetchdata/fetchdata.component';
import { CounterComponent } from './components/counter/counter.component';
import { AppRoutesModule } from './app-route.module';
import { SharedModule } from './shared/shared.module';
import { TeacherService } from './teacher/teacher.service';
import { TeachersModule } from './teacher/teacher.module';
import { SignInComponent } from './login/components/sign-in.component';
import { StudentsModule } from './student/student.module';
import { DiplomWorksModule } from './diplomWorks/diplom-works.module';
@NgModule({
    bootstrap: [ AppComponent ],
    declarations: [
        AppComponent,
        CounterComponent,
        FetchDataComponent,
        HomeComponent,
        SignInComponent
    ],
    imports: [
        UniversalModule, // Must be first import. This automatically imports BrowserModule, HttpModule, and JsonpModule too.
        AppRoutesModule,
        SharedModule,
        TeachersModule,
        StudentsModule,
        DiplomWorksModule
    ],
})
export class AppModule {
}

import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { UniversalModule } from 'angular2-universal';
import { AppComponent } from './app.component'
import { HomeComponent } from './components/home/home.component';
import { FetchDataComponent } from './components/fetchdata/fetchdata.component';
import { CounterComponent } from './components/counter/counter.component';
import { AppRoutesModule } from './app-route.module';
import { SharedModule } from './shared/shared.module';
import { TeacherService } from './teacher/teacher.service';
import { TeachersModule } from './teacher/teacher.module';
import { SignInComponent } from './login/components/sign-in.component';
import { StudentsModule } from './student/student.module';
import { DiplomWorksModule } from './diplomWorks/diplom-works.module';
import { GroupModule } from './group/group.module';
@NgModule({
    bootstrap: [ AppComponent ],
    declarations: [
        AppComponent,
        CounterComponent,
        FetchDataComponent,
        HomeComponent,
        SignInComponent
    ],
    imports: [
        UniversalModule, // Must be first import. This automatically imports BrowserModule, HttpModule, and JsonpModule too.
        AppRoutesModule,
        SharedModule,
        TeachersModule,
        StudentsModule,
        DiplomWorksModule,
        GroupModule
    ],
})
export class AppModule {
}

Use Group Module inside AppModule
DCS-30: Use Group Module inside AppModule
