in Angular by
Explain the difference between an Annotation and a Decorator in Angular?

1 Answer

0 votes

In Angular, annotations are used for creating an annotation array. They are only metadata set of the class using the Reflect Metadata library.

Decorators in Angular are design patterns used for separating decoration or modification of some class without changing the original source code.