Difference between Annotation and Decorator
What is the difference between an Annotation and Decorator in Angular?
Annotations and decorators
are two competing and incompatible ways to compile the @ symbols that we often see attached to
are functions that receive the decorated object and can make any changes to it they like. Traceur gives us
. TypeScript gives us
for more about it check below link
http://nicholasjohnson.com/blog/annotations-vs-decorators/#:~:text=TL;DR: Annotations and decorators,see attached to Angular components.&text=Decorators are functions that receive,TypeScript gives us decorators