title: Angular datepipe cannot be found
body: <p>I want to use the DatePipe in HTML</p>
  <p><code>{{ timeslot | date }}</code></p>
  <p>but I get the error</p>
  <p><code>error NG8004: No pipe found with name 'date'</code></p>
  <p>My app.module.ts imports the common module</p>
  <pre><code>import { CommonModule } from '@angular/common';
  
  @NgModule({
    imports: [
       CommonModule,
    ],
    declarations: [],
  }
  </code></pre>
  <p>What I am doing wrong?</p>