This is similar with issue 19930383
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-collapse">
<span class="sr-only" style="background-color:white">Toggle navigation</span>
<span class="icon-bar" style="background-color:white"></span>
<span class="icon-bar" style="background-color:white"></span>
<span class="icon-bar" style="background-color:white"></span>
</button>
<div id="header-logo" ng-click="go('/start', 'slideUp')">
<img src="image.png" alt="" class="">
<div id="bluebar"></div>
</div>
</div>
The issue is that I can only expand the collapsed navbar, can't shrink it back.
I realized that whenever I click the navbar-toggle button, the page reloads itself.
I already tried to remove the 'data-toggle' attribute, which makes the page stop reloading (and the bar stops expanding), so that must be what's causing this behavior.
edit Thanks for the help, I solved it with angular-ui, as recomended by charlieftl and l34p3r