Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { Component } from '@angular/core';
- import { Observable } from 'rxjs';
- import { LayoutService } from './core/services/layout.service';
- @Component({
- selector: 'my-app',
- templateUrl: './app.component.html',
- styleUrls: ['./app.component.css']
- })
- export class AppComponent {
- isSpinnerVisibile$: Observable<boolean> = this.layoutService.isNavigationPending$;
- constructor(private layoutService: LayoutService) { }
- }
Add Comment
Please, Sign In to add comment