import { Component, OnInit } from "@angular/core"; @Component({ selector: "Search", templateUrl: "./search.component.html" }) export class SearchComponent implements OnInit { constructor() { // Use the constructor to inject services. } ngOnInit(): void { // Use the "ngOnInit" handler to initialize data for the view. } }