Search⌘ K
AI Features

Displaying Returned Data

Explore how to use Angular's FormControl as an observable to capture input changes, integrate PhotosService with HttpClient, and apply debounceTime to efficiently fetch and display returned data in a reactive photo gallery.

The search feature of the photo gallery project

Open search-header.component.ts that was generated for you earlier, along with its template search-header.component.html. In the template, you can see that the input element has a [FormControl] attribute. You’ll learn more about FormControl and the related services in Building Reactive Forms.

...