I have for the past day got stuck on finding the best way to use angular to control a menu list with sub-menus.
With jQuery you can just listen after a click event on a specific type of element like a <li>
and add a class to its child element for a menu to open.
I'm trying to do the same thing like the menu on this page http://geedmo.com/themeforest/wintermin/dashboard.html, with Angular. But can't find the correct way by using my own directive or existing ones like ng-hide and ng-show.
If anyone have an example og guides on how to do this the best way, my day would be saved. :)
I'm also new to angular so learning new thing every day.