Looking for guidance on creating a sub menu in the ionic framework? I'm new to AngularJS and ionic framework, but eager to learn. Below is the code snippet I used to create a dropdown list component:
<ion-side-menu side="left">
<ion-content class="has-expanded-header">
<ion-list>
<ion-item nav-clear menu-close class="item-icon-left" ui-sref="main.dashboard">
<i class="icon ion-ios-speedometer"> </i>
Dashboard
</ion-item>
<ion-item nav-clear menu-close class="item-icon-left item-icon-right" ui-sref="main.accounts">
<i class="icon ion-accounts ion-ios-arrow-right"> </i>
Accounts
</ion-item>
<ion-item nav-clear menu-close class="item-icon-left" ui-sref="main.accounts">
<i class="icon ion-accounts"> </i>
Sub Accounts 1
</ion-item>
<ion-item nav-clear menu-close class="item-icon-left" ui-sref="main.accounts">
<i class="icon ion-accounts"> </i>
Sub Accounts 2
</ion-item>
</ion-list>
</ion-content>
</ion-side-menus>