Sidemenu with Collapsible Content

I’m fairly new to mobile application development and currently evaluating various architectures when I came across Ionic.

In my sample application I have a fairly long list of pages that I want to access from a menu. In my last evaluation I used JQuery Mobile collapsible-set to obtain an accordion like effect where list items were in subgroups with only one subgroup expanded at a time.

Is it possible to achieve this in an Ionic sidemenu? e.g., as if the dividing items when clicked collapsed/expanded the items beneath them.

Or can someone suggest a better UI more appropriate to Ionic?