I have this code which I want to make it collapse when on mobile but it isn't working. I tried with visible-xs and hidden-xs as shown in the code but it's obviously not working.
What could I possible do to make this happen?
I want to show the <ul>...</ul>
in Desktop only and make it collapsible in Mobile view and show only the button which would open after being clicked.
<div>
<button class="visible-xs" ng-click="isCollapsed = !isCollapsed">Collapsible</button>
<ul class="hidden-xs in nav nav-pills nav-stacked uib-collapse="isCollapsed">
<li class="active"><a ng-click="gotoElement('hired')">Hired</a></li>
<li><a ng-click="gotoElement('applied')">Applied</a></li>
<li><a ng-click="gotoElement('connections')">Connections</a></li>
</ul>
</div>