Getting data from a list item when clicked/changed in Ionic?

Hi, I'm attempting to create a drop-down list in Ionic that, when clicked, opens a sub-list containing a second list. The second list's contents will be filtered depending on the option chosen (eg: choosing option 1 will display sub-option 1.1, 1.2, etc). I have a variable for each option containing its number. However, I'm having trouble with getting it to recognize the number of the chosen option when it's clicked, resulting in the sub-list either failing to load, or displaying an unfiltered list of every sub-option.

I've checked out the tutorial here: , but wasn't able to get the desired result with it.
1 person has
this problem