What are the restrictions of metadata?
In Angular, You must write metadata with the following general constraints,
- The compiler can only reference symbols which are exported
- Only call the functions supported by the compiler
- Decorated and data-bound class members must be public.