I've hit a roadblock with what seems to be a simple task.
Here's what I have in my code:
<div>{{selectedTheme.theme}}</div>
<ion-nav-view ng-class="selectedTheme.theme" name="menuContent"></ion-nav-view>
The issue is that while the class displays correctly in the first div
, it doesn't seem to get added to the ion-nav-view
element.
As a result, the generated markup looks like this:
<div class="ng-binding">Dark</div>
<ion-nav-view ng-class="selectedTheme.theme" name="menuContent" class="view-container" nav-view-transition="ios" nav-view-direction="none" nav-swipe="">></ion-nav-view>
Any suggestions or insights would be greatly appreciated!
PS: Just using class
directly works without any issues.