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.

Related questions

0 votes
asked Jan 6, 2020 in Angular by sharadyadav1986
0 votes
asked Jan 27, 2020 in JAVA by rahuljain1