import { bootstrapApplication } from '@angular/platform-browser';
import { appConfig } from './app/app.config';
import { AppComponent } from './app/app.component';
import { provideHttpClient } from '@angular/common/http';
import { provideRouter } from '@angular/router';
import { routes } from './app/app.routes';
import { importProvidersFrom } from '@angular/core';
import { ReactiveFormsModule } from '@angular/forms';

bootstrapApplication(AppComponent,{
  providers: [
    provideHttpClient(), // Add this to provide HttpClient
    provideRouter(routes),
    importProvidersFrom(ReactiveFormsModule)
  ]
})
  .catch((err) => console.error(err));
