Guest User

Untitled

a guest
Aug 14th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. import { Component } from '@angular/core';
  2. import { Observable } from 'rxjs';
  3. import { LayoutService } from './core/services/layout.service';
  4.  
  5. @Component({
  6. selector: 'my-app',
  7. templateUrl: './app.component.html',
  8. styleUrls: ['./app.component.css']
  9. })
  10. export class AppComponent {
  11. isSpinnerVisibile$: Observable<boolean> = this.layoutService.isNavigationPending$;
  12.  
  13. constructor(private layoutService: LayoutService) { }
  14. }
Add Comment
Please, Sign In to add comment