This seems like it should be fairly straightforward, however I'm absolutely out of options
In my view I have:
<div>{{selectedTheme.theme}}</div>
<ion-nav-view ng-class="selectedTheme.theme" name="menuContent"></ion-nav-view>
where the first div
outputs the class as expected. However, I cannot get the class to get inserted into the ion-nav-view
element!
The resulting mark-up is as follows:
<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 input at all would be immense!
PS: In addition, setting it simply with class
works fine.