Struggling to come up with a suitable title for this query.
The issue at hand: Imagine a table consisting of two columns - one for car brands and the other for car models. The desired layout is as follows:
as depicted in the image
In simpler terms, each brand name should only be displayed once.
The input array provided is in JSON format:
[{"brand":"Audi","model":"A1"},
{"brand":"Audi","model":"A2"},
{"brand":"Audi","model":"A3"},
{"brand":"BMW","model":"3 Series"},
{"brand":"BMW","model":"5 Series"}]
Unable to figure out how to achieve this using AngularJS.