-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathapp.module.ts
More file actions
41 lines (37 loc) · 1.3 KB
/
app.module.ts
File metadata and controls
41 lines (37 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import { NgModule, NgModuleFactoryLoader, NO_ERRORS_SCHEMA } from "@angular/core";
import { NativeScriptModule } from "nativescript-angular/nativescript.module";
import {NativeScriptFormsModule} from "nativescript-angular/forms"
import { AppRoutingModule } from "./app-routing.module";
import { AppComponent } from "./app.component";
import { LoginComponent } from "./login/login.component";
import { ProgressService } from "./shared/progress.service";
import { LoginGuard } from "./shared/login-guard.service";
/* ************************************************************************
* Importing all rxjs operators increases build output and duration
* so it is better to import the operators in use only;
* also, due to the polyfill-ish nature of the RxJS modules,
* it is enough to import an operator once at a single, centralized location.
**************************************************************************/
import "./rxjs.imports";
@NgModule({
bootstrap: [
AppComponent
],
imports: [
NativeScriptModule,
AppRoutingModule,
NativeScriptFormsModule
],
declarations: [
AppComponent,
LoginComponent
],
providers: [
ProgressService,
LoginGuard
],
schemas: [
NO_ERRORS_SCHEMA
]
})
export class AppModule { }