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

▼ Show 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.

Angular JS
Learn More with Madanswer

Related questions

0 votes
asked Jan 6, 2020 in Angular by sharadyadav1986
...