Display a Table using Components with Angular 4
Published in
4 min readJan 3, 2018
The app will use two components to display a table:
- Table Component
- Table Row Component
For simplicity, these components will live in the main app module.
We’ll assume that we’re receiving data from a service that we implemented previously (in this example called Adventure Time Service). The service returns an array of objects which represent the characters we want to display in our table. Each character has the following attributes: