1- import { NgModule } from '@angular/core' ;
2- import { BrowserModule } from '@angular/platform-browser' ;
3- import { RoutingModule } from 'angular-routing' ;
4- import { HttpClientModule } from '@angular/common/http' ;
5- import { ReactiveFormsModule } from '@angular/forms' ;
6-
7- import { AppComponent } from './app.component' ;
8- import { TopBarComponent } from './top-bar/top-bar.component' ;
9- import { ProductListComponent } from './product-list/product-list.component' ;
10- import { ProductAlertsComponent } from './product-alerts/product-alerts.component' ;
11- import { ProductDetailsComponent } from './product-details/product-details.component' ;
12- import { CartComponent } from './cart/cart.component' ;
13- import { ShippingComponent } from './shipping/shipping.component' ;
14-
15-
16- @NgModule ( {
17- imports : [
18- BrowserModule ,
19- HttpClientModule ,
20- ReactiveFormsModule ,
21- RoutingModule . forRoot ( )
22- ] ,
23- declarations : [
24- AppComponent ,
25- TopBarComponent ,
26- ProductListComponent ,
27- ProductAlertsComponent ,
28- ProductDetailsComponent ,
29- CartComponent ,
30- ShippingComponent
31- ] ,
32- bootstrap : [
33- AppComponent
34- ]
35- } )
36- export class AppModule { }
37-
38-
39- /*
40- Copyright Google LLC. All Rights Reserved.
41- Use of this source code is governed by an MIT-style license that
42- can be found in the LICENSE file at http://angular.io/license
43- */
1+ import { NgModule } from '@angular/core' ;
2+ import { BrowserModule } from '@angular/platform-browser' ;
3+ import { RoutingModule } from 'angular-routing' ;
4+ import { HttpClientModule } from '@angular/common/http' ;
5+ import { ReactiveFormsModule } from '@angular/forms' ;
6+
7+ import { AppComponent } from './app.component' ;
8+ import { TopBarComponent } from './top-bar/top-bar.component' ;
9+ import { ProductListComponent } from './product-list/product-list.component' ;
10+ import { ProductAlertsComponent } from './product-alerts/product-alerts.component' ;
11+ import { ProductDetailsComponent } from './product-details/product-details.component' ;
12+ import { CartComponent } from './cart/cart.component' ;
13+ import { ShippingComponent } from './shipping/shipping.component' ;
14+
15+ @NgModule ( {
16+ imports : [
17+ BrowserModule ,
18+ HttpClientModule ,
19+ ReactiveFormsModule ,
20+ RoutingModule . forRoot ( ) ,
21+ ] ,
22+ declarations : [
23+ AppComponent ,
24+ TopBarComponent ,
25+ ProductListComponent ,
26+ ProductAlertsComponent ,
27+ ProductDetailsComponent ,
28+ CartComponent ,
29+ ShippingComponent ,
30+ ] ,
31+ bootstrap : [ AppComponent ] ,
32+ } )
33+ export class AppModule { }
34+
35+ /*
36+ Copyright Google LLC. All Rights Reserved.
37+ Use of this source code is governed by an MIT-style license that
38+ can be found in the LICENSE file at http://angular.io/license
39+ */
0 commit comments