how to use edit button in angular 1

how to use edit button in angular

import { Component, OnInit } from '@angular/core';
import { BackendService } from '../backend.service';
selector: 'app-partymaster',
templateUrl: './partymaster.component.html',
styleUrls: ['./partymaster.component.css']

Here is what the above code is Doing:
1. Importing the Component decorator from the @angular/core library.
2. Importing the OnInit lifecycle hook interface from the @angular/core library.
3. Importing the BackendService from the backend.service.ts file.
4. Defining the metadata with the @Component decorator.
5. Defining the PartymasterComponent class.
6. Exporting the PartymasterComponent class so it can be imported by other components.

Similar Posts