43 lines
1.2 KiB
TypeScript
43 lines
1.2 KiB
TypeScript
import { BrowserModule } from '@angular/platform-browser';
|
|
import { NgModule } from '@angular/core';
|
|
import { FormsModule } from '@angular/forms';
|
|
import { HttpModule } from '@angular/http';
|
|
import { MaterialModule } from '@angular/material';
|
|
import { routing } from './app.routing';
|
|
|
|
import 'hammerjs';
|
|
|
|
import { AppComponent } from './app.component';
|
|
import { HomeComponent } from './components/home/home.component';
|
|
import { NavBarComponent } from './components/nav-bar/nav-bar.component';
|
|
|
|
import { LoginService } from './services/login.service';
|
|
import { UserService } from './services/user.service';
|
|
import { PaymentService } from './services/payment.service';
|
|
import { MyAccountComponent } from './components/my-account/my-account.component';
|
|
import { MyProfileComponent } from './components/my-profile/my-profile.component';
|
|
|
|
@NgModule({
|
|
declarations: [
|
|
AppComponent,
|
|
HomeComponent,
|
|
NavBarComponent,
|
|
MyAccountComponent,
|
|
MyProfileComponent
|
|
],
|
|
imports: [
|
|
BrowserModule,
|
|
FormsModule,
|
|
HttpModule,
|
|
routing,
|
|
MaterialModule
|
|
],
|
|
providers: [
|
|
LoginService,
|
|
UserService,
|
|
PaymentService
|
|
],
|
|
bootstrap: [AppComponent]
|
|
})
|
|
export class AppModule { }
|