Active tab in the ion-side-menu


I’m using the in my application which works nicely, but I want to have it so the currently select item in the menu (ie the current view/page you are on) is highlighted with some CSS.

Does anyone know if there is a way to determine the currently selected view/page?

Thanks in advance :smile:


If you are using ui-route, have you tried this: ?


Brilliant, didn’t even think about looking at the router state, thanks for the heads up.