You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
552 B
16 lines
552 B
import { NgModule } from '@angular/core';
|
|
import { BrowserModule } from '@angular/platform-browser';
|
|
import { FormsModule } from '@angular/forms';
|
|
|
|
import { AppComponent } from './app.component';
|
|
import { OrderService } from './order.service';
|
|
import { OrderDiscountService } from './order-discount.service';
|
|
|
|
@NgModule({
|
|
imports: [BrowserModule, FormsModule],
|
|
declarations: [AppComponent],
|
|
providers: [{ provide: OrderService, useExisting: OrderDiscountService },OrderDiscountService],
|
|
|
|
bootstrap: [AppComponent],
|
|
})
|
|
export class AppModule {}
|