dependencies Legend  Declarations  Module  Bootstrap  Providers  Exports cluster_AppModule cluster_AppModule_declarations cluster_AppModule_imports cluster_AppModule_bootstrap cluster_AppModule_providers AppComponent AppComponent AppModule AppModule AppComponent->AppModule ModalViewComponent ModalViewComponent ModalViewComponent->AppModule AppComponent AppComponent AppModule->AppComponent AppRoutingModule AppRoutingModule AppRoutingModule->AppModule UIService UIService UIService->AppModule

File

src/app/app.module.ts

EntryComponents

Providers

Bootstrap

Methods

ngOnInit
ngOnInit()
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.")
    }

}

result-matching ""

    No results matching ""