dependencies Legend  Declarations  Module  Bootstrap  Providers  Exports cluster_AppModule cluster_AppModule_declarations cluster_AppModule_AppComponent_providers cluster_AppModule_bootstrap AppComponent AppComponent AppModule AppModule AppComponent->AppModule HeaderComponent HeaderComponent HeaderComponent->AppModule WeatherListComponent WeatherListComponent WeatherListComponent->AppModule MyDatePipe MyDatePipe MyDatePipe->AppModule AppComponent AppComponent AppModule->AppComponent WeatherService WeatherService WeatherService->AppComponent

File

src/app/app.module.ts

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { HttpModule } from '@angular/http';

import { AppComponent } from './app.component';
import { HeaderComponent } from './header/header.component';
import { WeatherListComponent } from './weather/weather-list/weather-list.component';
import { MyDatePipe } from './my-date.pipe';

@NgModule({
  declarations: [
    AppComponent,
    HeaderComponent,
    WeatherListComponent,
    MyDatePipe
  ],
  imports: [
    BrowserModule, HttpModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

results matching ""

    No results matching ""