Skip to main content

Posts

Showing posts with the label Meta Data

What is Meta data and different types of meta data in angular with names

Hello Guys, In this blog we are going to learn about Metadata in angular with examples. What is Meta Data ?  Basically meta data is used to decorate a class so that it can be configure the expected behaviors of the class in angular. Basically In angular we have total 4 type of meta data 1) Class Decorator  :- Like @Components and @NgModule 2) Property Decorator : - It's mainly used for properties inside a classes.      Ex:-  @Input() & @Output() 3) Method Decorator :- It's mainly used for methods inside a classes.      Ex:- @Hostlistner() 4) Parameters Decorator :- It's mainly used for Parameters inside a classes.      Ex:- @Inject() If you guys have any query then you can drop a mail to us on this mail id: techoswag@gmail.com