Both Angular and TS are great tools. Using both helps us achieve a great application. Combining the advantages of TS features together with Agular’s advanced functionality can leverage your app even more.
One of the advanced features TS has to offer is the Decorator. Combining Decorators together with Angular can make your application cleaner, more readable and can reduce code duplications.
So what are TS decorators anyway?
A Decorator is a special kind of declaration that can be attached to a class declaration, method, accessor, property, or parameter. …