Siemens Interview Question

How decorators implemented in Angular2/4/5?