import { ChangeDetectionStrategy , ChangeDetectorRef , ViewChild , AfterViewInit , ElementRef , OnInit , NgZone } from '@angular/core' ; import { Router } from '@angular/router' ; import { Page } from "ui/page" ; import { screen , isIOS } from 'platform' ; import { registerElement } from "nativescript-angular/element-registry" ; registerElement ( "Slide" , ( ) => require ( "nativescript-slides" ) . Slide ) ; registerElement ( "SlideContainer" , ( ) => require ( "nativescript-slides" ) . SlideContainer ) ; registerElement ( "Gif" , ( ) => require ( "nativescript-gif" ) . Gif ) ; if ( isIOS ) { registerElement ( "AudioPlot" , ( ) => require ( "nativescript-ezaudio" ) . AudioPlot ) ; } import { TNSFontIconService } from 'nativescript-ng2-fonticon' ; import { BehaviorSubject } from 'rxjs/BehaviorSubject' ; import { ActionBarUtil , BaseComponent } from './shared/core/index' ; @ BaseComponent ( { selector : 'my-app' , templateUrl : './app.component.html' , changeDetection : ChangeDetectionStrategy . Default } ) export class AppComponent { constructor ( private pluginService ) { ActionBarUtil . STATUSBAR_STYLE ( 1 ) ; } }