123456789101112131415161718192021222324 |
- import { BrowserModule } from '@angular/platform-browser';
- import { NgModule } from '@angular/core';
- import { AppComponent } from './app.component';
- import { TimelineComponent } from './timeline/timeline.component';
- import { HttpClientModule } from '@angular/common/http';
- import { LOCALE_ID } from '@angular/core';
- import { registerLocaleData } from '@angular/common';
- import localePt from '@angular/common/locales/pt';
- registerLocaleData(localePt);
- @NgModule({
- declarations: [
- AppComponent,
- TimelineComponent
- ],
- imports: [
- BrowserModule,
- HttpClientModule
- ],
- providers: [{ provide: LOCALE_ID, useValue: 'pt-BR' }],
- bootstrap: [AppComponent]
- })
- export class AppModule { }
|