src/app/app.module.ts
ngOnInit |
ngOnInit()
|
Defined in src/app/app.module.ts:43
|
Returns :
void
|
import { NgModule, NO_ERRORS_SCHEMA } from "@angular/core";
import { NativeScriptModule } from "nativescript-angular/nativescript.module";
import { NativeScriptUISideDrawerModule } from "nativescript-ui-sidedrawer/angular";
import { AppRoutingModule } from "./app-routing.module";
import { AppComponent } from "./app.component";
import { QrcodeComponent } from './home/qrcode/qrcode.component';
import { SharedModule } from "./shared/shared/shared.module";
import { NativeScriptFormsModule } from "nativescript-angular/forms";
import { ShopInfosComponent } from "./browse/shop-infos/shop-infos.component";
import { BrowseModule } from "./browse/browse.module";
import { UIService } from "./services/ui.service";
import { ModalViewComponent } from './modal-view/modal-view.component';
@NgModule({
bootstrap: [
AppComponent
],
imports: [
AppRoutingModule,
NativeScriptModule,
NativeScriptFormsModule,
NativeScriptUISideDrawerModule
],
providers: [
UIService
],
declarations: [
AppComponent,
ModalViewComponent,
],
schemas: [
NO_ERRORS_SCHEMA
],
entryComponents: [ModalViewComponent]
})
export class AppModule {
constructor() {
console.log("APP module constructed.")
}
ngOnInit() {
console.log("APP module instanced.")
}
}