import { Component } from '@angular/core' ; import { interval , Subscription } from 'rxjs' ; import { map , merge } from 'rxjs/operators' ; @ Component ( { selector : 'app-root' , templateUrl : './app.component.html' , styleUrls : [ './app.component.scss' ] , } ) export class AppComponent { title = 'Moving heavy computation to Pure Pipes' ; ngOnInit ( ) { } }