import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { PoModule } from '@po-ui/ng-components';
import { RouterModule } from '@angular/router';
import { TotvsGpsServicesModule } from 'totvs-gps-services';
import { TotvsGpsControlsModule } from 'totvs-gps-controls';
import { CommonModule, HashLocationStrategy, LocationStrategy } from '@angular/common';
import { FormsModule } from '@angular/forms';

const modules = [
    BrowserModule,
    CommonModule,
    FormsModule,
    AppRoutingModule,
    PoModule,
    TotvsGpsServicesModule,
    TotvsGpsControlsModule,
  ];
@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    ...modules,
  ],
  exports: [
    ...modules
  ],
  providers: [
    {provide: LocationStrategy, useClass: HashLocationStrategy}
  ],
  bootstrap: [AppComponent]
})
export class AppModule { }
