Displaying the Results
Explore how to display results in an Angular app by storing response data, sending it to child components via property binding, and looping through arrays with ngFor. This lesson helps you understand parent-to-child communication and rendering dynamic data from APIs.
We'll cover the following...
We'll cover the following...
We’ve got everything we need. The last step to building our application is to display the results. Here’s what we’ll need to do:
- Store the results
- Send the results down to the child component
- Loop through the results
Before proceeding, try to display the results on your own. We’ve already covered pretty much everything you’ll need to know to accomplish this task. Good luck!
Storing the results
First, we’ll want to store the results. This way, we can ...