Jan 15 in Angular

Q: What is the difference between an Annotation and a Decorator in Angular?

1 Answer

Jan 15

Annotations in angular are “only” metadata set of the class using the Reflect Metadata library. They are used to create an “annotation” array. On the other hand, decorators are the design patterns that are used for separating decoration or modification of a class without actually altering the original source code.

Click here to read more about Angular JS
Click here to read more about Insurance

Related questions

Jan 6 in Angular
Jan 15 in Angular
Nov 24, 2019 in Angular