Erro angular Erro: ExpressionChangedAfterithAsBeenCheckedError: A expressão mudou após a verificação.

 constructor(private ref: ChangeDetectorRef){}

  ngAfterContentChecked() {
    this.ref.detectChanges();
  }
Talented Tortoise