Angular http pipe error JSON code example
Example: angular pipe json error
// resolved by importing CommonModule not on the app.module.ts but
// on the componentName.module.ts
import { CommonModule } from '@angular/common';
imports: [CommonModule]