I\'m using Angular2 Final release (2.1.0). When I want to display a list of companies, I got this error.
in file.component.ts :
file.component.ts
public
I received the error because the component I was using wasn't registered in the declarations: [] section of the module.
After adding the component the error went away. I would have hoped for something less obscure than this error message to indicate the real problem.