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

1 Answer

0 votes
by

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.

Related questions

0 votes
asked Jan 6, 2020 in Angular by sharadyadav1986
0 votes
asked Sep 15, 2023 in Angular by JackTerrance
...