In Angular, the users must write metadata with the following general constraints,
- Write expression syntax with in the supported range of JavaScript features.
- 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.