import { Component } from '@angular/core' ; /**
 * Represent a simple loading indicator for better user expirience when some data loads.
 * Used code from  https @ Component ( { selector : 'loading-indicator' , templateUrl : 'loading-indicator.html' } ) export class LoadingIndicator { } /**
 * Logic for loading indicator
 */ export class LoadingPage { public loading : boolean ; constructor ( val ) { this . loading = val ; } /**
     * Data loads
     */ standby ( ) { this . loading = true ; } /**
     * Data ready
     */ ready ( ) { this . loading = false ; } }