I'm doing a menu as shown below
- how should I use ng-class to control the selected element's css
- the round dot on the right side is a span, how can I show it when corresponding li is selected, also hide when other li selected.
a part of my html code:
<li layout="row" layout-align="start center">
<div flex="initial" layout="column" layout-align="center center">
<span class="docs-upper-icon"></span>
<span class="docs-lower-icon docs-lower-icon-1"></span>
</div>
<a flex href="#/masters" layout="row" layout-align="start center"><h2>Masters</h2></a>
<span class="docs-menu-deco-icon"></span>
</li>