Does anyone know how to get sub-groups in an ng-option list. I have a query that looks something like this that works fine.
l.symbol as l.description group by l.country for l in locations
but I would ideally like to do this which does not work:
l.symbol as l.description group by [l.region, l.country] for l in locations
the expected result in the dropdown that I am after would then look like this:
AMER
CANADA
MONTREAL
TORONTO
USA
CHICAGO
NEW YORK
APAC
China
Bejing
Shanghai
Japan
Kyoto
Tokyo
Is this even possible out of the box?