What is decorator in angular 2?
Answer / Renu Sirohi
A decorator in Angular 2 is a function that modifies or extends the functionality of a class, method, property, or parameter. Decorators are used to provide additional metadata for Angular's dependency injection system and for other purposes.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is internationalization? How can it be implemented in angularjs?
What are the new features in css3?
In how many different ways, you can define a directive and what is the best practice?
What is scope hierarchy?
Which service does the html $compile service use for the purpose of data binding?
What is the difference between angular 4 and angular 7?
Why is typescript used in angular?
What is the difference between angularjs and node.js?
What is ng-content Directive?
What are angular templates?
What is ng-repeat directive in angularjs?
What is tsconfig json in angulr 2?