I am trying to find the best way to display tabular data using AngularJS based on three RESTful data endpoints. For example, the data is comprised of three models:
Roommate
id
name
Chore
id
name
ChoreAssignment
id
day
roommate (fk)
chore (fk)
I want to display the Chore Assignments in a table with day on the x-axis and roommates on the y-axis.
Mon Tue Wed Thu Fri Sat Sun
Bob dishes mow grass dishes
Alice trash dishes sweep
Mike dishes vacuum
I can easily display the data in separate lists with ng-repeat but I am unsure about combining them in the table. I am trying to avoid a custom API call for this table specifically if I can simply build it from the three separate lists of data I already have. Any advice is greatly appreciated.