Working with atom (1.21.1 ia32)… i got the same error, even though i added a reference to my pipe in the app.module.ts and in the declarations within app.module.ts
solution was to restart my node instance… stopping the website and then doing ng serve again… going to localhost:4200 worked like a charm after this restart