Using expose-aside-when in starter sidemenu template?


#1

I’m new to ionic and I was trying to modify the sidemenu starter project to have the side menu always displayed on larger screens. I tried adding expose-aside-when="large" to the ion-side-menu element in menu.html but it doesn’t seem to have any effect.

All the examples of expose-aside-when don’t seem to use ion-nav-view and I’m wondering if that is related? I’ve searched and haven’t found any examples/codepens showing these two features working together.

Any pointers would be greatly appreciated.


#2

Thanks to this codepen: http://codepen.io/anon/pen/qyLJF I figured out my problem. When I included the bundles directly from code.ionicframework.com in my index.html everything worked. Apparently it was the environment I built via yo ionic I wasn’t getting the versions of ionic/angular I needed. I did a bower update and then grunt serve and all was well. A little strange since I built the environment just this morning…