Control sidebar angularJS

0

Good morning everyone. I'm new to the forum and the world of web programming. I made some courses of AngularJs I am developing my first application and there was a doubt about the code that I am using. I need siderbar (navbar) to be fetched whenever a click occurs on the menu. The code below is below:

<a href class="sidebar-toggle" data-toggle="offcanvas" role="button">
  <span class="sr-only">Toggle navigation</span>
</a>
<div class="navbar-custom-menu">
  <ul class="nav navbar-nav">
    <li class="dropdown messages-menu" ng-include="'/template/header/navbar/messages.html'"></li>
  </ul>
</div>

Can anyone help me (with angular js)? Many thanks.

    
asked by anonymous 15.03.2018 / 12:44

0 answers